diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-17 00:28:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-17 00:28:22 +0000 |
commit | d67cf536981fe324152c9f4f89119b8b3a7b383d (patch) | |
tree | 0c088c5d3f1bd77f9db06173cd83167cff96d380 /distrib/zaurus | |
parent | 81f9f199b5e2a6741e5a9a68d39dd00dadaa4e18 (diff) |
Stop using disklabel -r. The disklabel code does not know all the semantics
for pushing disklabels onto the disk (and besides that, it is buggy and
unreadable crap); thanks for help from krw
Diffstat (limited to 'distrib/zaurus')
-rw-r--r-- | distrib/zaurus/ramdisk/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/distrib/zaurus/ramdisk/Makefile b/distrib/zaurus/ramdisk/Makefile index 4faf28db9e1..9d6b395f6d4 100644 --- a/distrib/zaurus/ramdisk/Makefile +++ b/distrib/zaurus/ramdisk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2007/04/13 17:34:40 millert Exp $ +# $OpenBSD: Makefile,v 1.3 2007/06/17 00:28:21 deraadt Exp $ REV= ${OSrev} @@ -23,7 +23,6 @@ PID!= echo $$$$ DISKTYPE= rdroot2.5M -#NBLKS= 8192 NBLKS= 5120 # minfree, opt, b/i trks, sects, cpg NEWFSARGS= -m 0 -o space -i 4096 @@ -54,7 +53,7 @@ bsd: rd_setup: dd if=/dev/zero of=${IMAGE} bs=512 count=${NBLKS} vnconfig -v -c ${VND} ${IMAGE} - disklabel -w -r ${VND} ${DISKTYPE} + disklabel -w ${VND} ${DISKTYPE} newfs ${NEWFSARGS} ${VND_RDEV} fsck ${VND_RDEV} mount ${VND_DEV} ${MOUNT_POINT} |