From d1a70360947129f8908c5e5bcd1406b4493b223e Mon Sep 17 00:00:00 2001 From: ru Date: Tue, 15 Apr 2003 09:14:14 +0000 Subject: [PATCH] Fixed dofs_vn(): previous revision ran ``rm -f /dev/*vnn*'' too early. --- release/scripts/doFS.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/release/scripts/doFS.sh b/release/scripts/doFS.sh index 08d97a6aa2f6..8aa51ec84d85 100644 --- a/release/scripts/doFS.sh +++ b/release/scripts/doFS.sh @@ -59,7 +59,7 @@ dofs_vn () { vnconfig -s labels -c /dev/r${VNDEVICE} ${FSIMG} - trap "umount ${MNT}; vnconfig -u /dev/r${VNDEVICE}" EXIT + trap "umount ${MNT}; vnconfig -u /dev/r${VNDEVICE}; rm -f /dev/*vnn*" EXIT disklabel -w ${BOOT} ${VNDEVICE} ${FSLABEL} newfs -i ${FSINODE} -o space -m 0 /dev/r${VNDEVICE}c @@ -80,8 +80,6 @@ dofs_vn () { echo "*** ${FSINODE} bytes/inode, $7 left" break; done - - rm -f /dev/*vnn* } dofs_md () {