mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 10:43:32 +00:00
Fixed dofs_vn(): previous revision ran ``rm -f /dev/*vnn*'' too early.
This commit is contained in:
parent
9b3f5f7760
commit
2d1cc5928b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113510
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user