Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/arm32/ramdisk Use the -F writing to a normal file fe...



details:   https://anonhg.NetBSD.org/src/rev/c88fedfdbdac
branches:  trunk
changeset: 516870:c88fedfdbdac
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Wed Oct 31 22:30:47 2001 +0000

description:
Use the -F writing to a normal file feature of newfs to avoid problems with
rewriting the disklabel. The newfs is moved up in the sequence after the
creation of the file and the disklabel is written after it.

diffstat:

 distrib/arm32/ramdisk/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 617b69e73167 -r c88fedfdbdac distrib/arm32/ramdisk/Makefile
--- a/distrib/arm32/ramdisk/Makefile    Wed Oct 31 22:23:18 2001 +0000
+++ b/distrib/arm32/ramdisk/Makefile    Wed Oct 31 22:30:47 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.17 2001/10/13 06:15:16 jmc Exp $
+#      $NetBSD: Makefile,v 1.18 2001/10/31 22:30:47 reinoud Exp $
 
 TOP=           ${.CURDIR}/..
 
@@ -40,9 +40,9 @@
 
 all: ${AUXTARGETS} ${CBIN} 
        dd if=/dev/zero of=${IMAGE} count=${RDSIZE}
+       newfs -F -B le -m 0 -o space -i 5152 -c 100 -s${RDSIZE} ${IMAGE}
        vnconfig -t ${DISKTYPE} -v -c ${VND_CDEV} ${IMAGE}
        disklabel -rw ${VND_CRDEV} ${DISKTYPE}
-       newfs -B le -m 0 -o space -i 5120 -c 100 ${VND_RDEV}
        mount ${VND_DEV} ${MOUNT_POINT}
        ${MTREE} -def ${.CURDIR}/${MTREECONF} -p ${MOUNT_POINT}/ -u
        TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \



Home | Main Index | Thread Index | Old Index