Source-Changes-HG archive

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

[src/trunk]: src/distrib/miniroot use raw device name for vnconfig.



details:   https://anonhg.NetBSD.org/src/rev/04a83a11dbeb
branches:  trunk
changeset: 517122:04a83a11dbeb
user:      shin <shin%NetBSD.org@localhost>
date:      Wed Nov 07 08:02:54 2001 +0000

description:
use raw device name for vnconfig.

diffstat:

 distrib/miniroot/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 20efb55ef5d1 -r 04a83a11dbeb distrib/miniroot/Makefile
--- a/distrib/miniroot/Makefile Wed Nov 07 08:01:51 2001 +0000
+++ b/distrib/miniroot/Makefile Wed Nov 07 08:02:54 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.39 2001/10/13 06:15:18 jmc Exp $
+#      $NetBSD: Makefile,v 1.40 2001/11/07 08:02:54 shin Exp $
 
 .include "../../Makefile.inc"
 .include <bsd.own.mk>
@@ -45,7 +45,7 @@
 
 all: ${CBIN}
        dd if=/dev/zero of=${IMAGE} count=${IMAGESIZE}
-       vnconfig ${DISKTYPEARG} -v -c ${VND_DEV} ${IMAGE} ${VND_GEOM}
+       vnconfig ${DISKTYPEARG} -v -c ${VND_RDEV} ${IMAGE} ${VND_GEOM}
        ${PRELABEL}
        -newfs -m 0 -o space ${NEWFSOPTS} ${VND_RDEV} ${DISKTYPE}
        ${BOOTINSTALL}
@@ -59,11 +59,11 @@
        @df -i ${MOUNT_POINT}
        @echo ""
        umount ${MOUNT_POINT}
-       vnconfig -u ${VND_DEV}
+       vnconfig -u ${VND_RDEV}
 
 unconfig:
        -umount -f ${MOUNT_POINT}
-       -vnconfig -u ${VND_DEV}
+       -vnconfig -u ${VND_RDEV}
        -/bin/rm -f ${IMAGE}
 
 ${CBIN}.conf: ${LISTS}



Home | Main Index | Thread Index | Old Index