From cd662cc5ca14c9185fe05b30854c26d3b5fe0525 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 22 Dec 1996 01:52:53 +0000 Subject: disklabel the vnd --- distrib/mac68k/inst-common/Makefile.inc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'distrib/mac68k/inst-common') diff --git a/distrib/mac68k/inst-common/Makefile.inc b/distrib/mac68k/inst-common/Makefile.inc index c245b49f300..cf65c9084da 100644 --- a/distrib/mac68k/inst-common/Makefile.inc +++ b/distrib/mac68k/inst-common/Makefile.inc @@ -9,8 +9,8 @@ COMMONDIR= ${TOP}/inst-common MOUNT_POINT?= /mnt VND?= vnd0 -VND_DEV= /dev/${VND}c -VND_RDEV= /dev/r${VND}c +VND_DEV= /dev/${VND}a +VND_RDEV= /dev/r${VND}a IMAGE?= xxx-${REV}.fs MDEC= ${DESTDIR}/usr/mdec @@ -20,8 +20,9 @@ MTREE= ${COMMONDIR}/mtree.conf all: ${CBIN} dd if=/dev/zero of=${IMAGE} bs=1k count=1024 - vnconfig -v -c ${VND_DEV} ${IMAGE} - newfs -m 0 -o space -i 16384 ${VND_RDEV} ram + vnconfig -v -c ${VND} ${IMAGE} + disklabel -w ${VND} ram + newfs -m 0 -o space -i 16384 ${VND_RDEV} mount ${VND_DEV} ${MOUNT_POINT} mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \ @@ -30,11 +31,11 @@ all: ${CBIN} @df -i ${MOUNT_POINT} @echo "" umount ${MOUNT_POINT} - vnconfig -u ${VND_DEV} + vnconfig -u ${VND} unconfig: -umount -f ${MOUNT_POINT} - -vnconfig -u ${VND_DEV} + -vnconfig -u ${VND} -/bin/rm -f ${IMAGE} ${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF} -- cgit v1.2.3