don't mknod stuff without making sure it's not there first.
This commit is contained in:
parent
8b578ecb19
commit
d0840ab627
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54659
@ -23,6 +23,7 @@ FSLABEL=$1 ; shift
|
||||
deadlock=20
|
||||
|
||||
u=`expr $VNDEVICE : 'vn\([0-9]*\)' || true`
|
||||
rm -f /dev/*vnn*
|
||||
mknod /dev/vnn${u} b 15 `expr 65538 + $u '*' 8`
|
||||
mknod /dev/rvnn${u} c 43 `expr 65538 + $u '*' 8`
|
||||
mknod /dev/vnn${u}c b 15 `expr 2 + $u '*' 8`
|
||||
|
Loading…
Reference in New Issue
Block a user