summaryrefslogtreecommitdiff
path: root/distrib/alpha/cdfs
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2010-08-26 01:35:45 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2010-08-26 01:35:45 +0000
commit888f7e20368cc2f1a7bc943bad29132ecec045d8 (patch)
tree71c89a2876347c10a18453b8846b517de7a24f36 /distrib/alpha/cdfs
parent1983c3805b3ebdcf9306dd80538f44e4947dcb23 (diff)
Since Aug 2008, the kernel can successfully read the 1 block (512
byte) disklabels even in the midst of a larger sector. E.g. in bytes 512 - 1023 of the first 2048 byte sector on a CD. On hppa we plopped down such a disklabel on cdXX.iso and installXX.iso. Once accessible it took precedence over the spoofed label of the CD. Chaos ensued. Since there is currently no reason for this label on hppa cd's, eradicate it and its disktab entry. cdXX.iso/installXX.iso can now be mounted on hppa again. Also remove a commented out label plopping on Alpha, which references a non-existant disktab entry. Problem noted and exact diff creating problem discovered by marco@. ok deraadt@
Diffstat (limited to 'distrib/alpha/cdfs')
-rw-r--r--distrib/alpha/cdfs/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/distrib/alpha/cdfs/Makefile b/distrib/alpha/cdfs/Makefile
index 9cb7a7eb1a7..5854ab1b886 100644
--- a/distrib/alpha/cdfs/Makefile
+++ b/distrib/alpha/cdfs/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2009/04/17 03:58:54 deraadt Exp $
+# $OpenBSD: Makefile,v 1.7 2010/08/26 01:35:44 krw Exp $
TOP= ${.CURDIR}/..
@@ -33,7 +33,6 @@ ${CDROM}:
-s `cat log | grep -v 'Name' | egrep "/cd-dir/${OSREV}/${MACHINE}/boot$$" | cut -d' ' -f1` \
-e `cat log | grep -v 'Name' | egrep "/cd-dir/${OSREV}/${MACHINE}/boot$$" | cut -d' ' -f2` \
/mnt/${OSREV}/${MACHINE}/boot /usr/mdec/bootxx /dev/rsvnd0c
- #disklabel -w svnd0 fakecdrom "OpenBSD/${MACHINE} "
umount /mnt
vnconfig -u svnd0