From d6302e06419a8fd58918850e76687ab7c978d0eb Mon Sep 17 00:00:00 2001 From: tron Date: Thu, 8 Nov 2001 07:29:45 +0000 Subject: [PATCH] Use the block device when invoking "vndconfig" because the character device isn't accepted any longer. --- distrib/miniroot/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/distrib/miniroot/Makefile b/distrib/miniroot/Makefile index 8c68a5bce30b..3de0640a49c5 100644 --- a/distrib/miniroot/Makefile +++ b/distrib/miniroot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.40 2001/11/07 08:02:54 shin Exp $ +# $NetBSD: Makefile,v 1.41 2001/11/08 07:29:45 tron Exp $ .include "../../Makefile.inc" .include @@ -45,7 +45,7 @@ all: all: ${CBIN} dd if=/dev/zero of=${IMAGE} count=${IMAGESIZE} - vnconfig ${DISKTYPEARG} -v -c ${VND_RDEV} ${IMAGE} ${VND_GEOM} + vnconfig ${DISKTYPEARG} -v -c ${VND_DEV} ${IMAGE} ${VND_GEOM} ${PRELABEL} -newfs -m 0 -o space ${NEWFSOPTS} ${VND_RDEV} ${DISKTYPE} ${BOOTINSTALL} @@ -59,11 +59,11 @@ all: ${CBIN} @df -i ${MOUNT_POINT} @echo "" umount ${MOUNT_POINT} - vnconfig -u ${VND_RDEV} + vnconfig -u ${VND_DEV} unconfig: -umount -f ${MOUNT_POINT} - -vnconfig -u ${VND_RDEV} + -vnconfig -u ${VND_DEV} -/bin/rm -f ${IMAGE} ${CBIN}.conf: ${LISTS}