Source-Changes-HG archive

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

[src/trunk]: src/distrib/i386/floppies/ramdisk-big Use the raw device for vnc...



details:   https://anonhg.NetBSD.org/src/rev/aa9572263dc1
branches:  trunk
changeset: 517103:aa9572263dc1
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Nov 07 02:50:22 2001 +0000

description:
Use the raw device for vnconfig and disklabel.

diffstat:

 distrib/i386/floppies/ramdisk-big/Makefile |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r 2dcd03891660 -r aa9572263dc1 distrib/i386/floppies/ramdisk-big/Makefile
--- a/distrib/i386/floppies/ramdisk-big/Makefile        Wed Nov 07 02:24:18 2001 +0000
+++ b/distrib/i386/floppies/ramdisk-big/Makefile        Wed Nov 07 02:50:22 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2001/10/13 06:15:16 jmc Exp $
+#      $NetBSD: Makefile,v 1.10 2001/11/07 02:50:22 christos Exp $
 
 TOP=           ${.CURDIR}/..
 WARNS=1
@@ -38,10 +38,10 @@
 ${IMAGE}: ${CBIN} ${AUXDEPENDS} ${MTREECONF} ${LISTS}
        rm -f ${IMAGE}.tmp
        dd if=/dev/zero of=${IMAGE}.tmp count=${RAMDISKSIZE}
-       vnconfig -v -c ${VND_CDEV} ${IMAGE}.tmp \
+       vnconfig -v -c ${VND_CRDEV} ${IMAGE}.tmp \
            512/${RAMDISKSPC}/1/${RAMDISKCYLS}
-       -disklabel ${VND_CDEV} >tmplabel
-       disklabel -r -R ${VND_CDEV} tmplabel
+       -disklabel ${VND_CRDEV} >tmplabel
+       disklabel -r -R ${VND_CRDEV} tmplabel
        newfs -B le -m 0 -o space -i 3950 -c 80 ${VND_RDEV} 
        mount ${VND_DEV} ${MOUNT_POINT}
        ${MTREE} -def ${.CURDIR}/${MTREECONF} -p ${MOUNT_POINT}/ -U
@@ -51,12 +51,12 @@
        @df -i ${MOUNT_POINT}
        @echo ""
        umount ${MOUNT_POINT}
-       vnconfig -u ${VND_CDEV}
+       vnconfig -u ${VND_CRDEV}
        mv -f ${IMAGE}.tmp ${IMAGE}
 
 unconfig:
        -umount -f ${MOUNT_POINT}
-       -vnconfig -u ${VND_DEV}
+       -vnconfig -u ${VND_RDEV}
        -/bin/rm -f ${IMAGE} ${IMAGE}.tmp
 
 ${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}



Home | Main Index | Thread Index | Old Index