summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-10-12 18:56:09 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-10-12 18:56:09 +0000
commitd2b8a1b4a93966c8e9af3e49b9529aedc2d31528 (patch)
tree2b49491badd7de725eb3288882771e6309cd8c4b
parent78bb5efa8d11f581fd28ea0af6f1721e9626be4e (diff)
Reduce block count to sync with disktab
-rw-r--r--distrib/sparc64/cdfs/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/distrib/sparc64/cdfs/Makefile b/distrib/sparc64/cdfs/Makefile
index e64ddfa3df6..b2e5a11860f 100644
--- a/distrib/sparc64/cdfs/Makefile
+++ b/distrib/sparc64/cdfs/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2001/10/12 16:45:43 jason Exp $
+# $OpenBSD: Makefile,v 1.3 2001/10/12 18:56:08 jason Exp $
TARGET=cd.fs
@@ -10,14 +10,17 @@ all ${TARGET}:
all: ${TARGET}
-${TARGET}: vn_up install_files installboot vn_down
+${TARGET}: vn_up install_files installboot showit vn_down
vn_up: blank_filesystem
vnconfig svnd0 ${TARGET}
disklabel -w svnd0 fakeramdisk
- newfs /dev/rsvnd0a
+ newfs -m 0 /dev/rsvnd0a
mount /dev/svnd0a /mnt
+showit:
+ df -ki /mnt
+
vn_down:
-umount /mnt
-vnconfig -u svnd0
@@ -36,7 +39,7 @@ installboot:
/usr/mdec/installboot -v ${DESTDIR}/usr/mdec/bootblk /dev/svnd0c
blank_filesystem:
- dd if=/dev/zero of=${TARGET} bs=512 count=12800
+ dd if=/dev/zero of=${TARGET} bs=512 count=3200
.endif