Allow 'MAKEDEV vnd0' to actually work...

This commit is contained in:
briggs 1995-02-05 06:08:33 +00:00
parent 58f54fd9c6
commit c7488bb137

View File

@ -20,7 +20,7 @@
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#
# from: @(#)MAKEDEV 5.2 (Berkeley) 6/22/90
# $Id: MAKEDEV,v 1.11 1994/12/27 05:00:22 briggs Exp $
# $Id: MAKEDEV,v 1.12 1995/02/05 06:08:33 briggs Exp $
#
# Device "make" file. Valid arguments:
# all a smattering--at least one of each except
@ -96,11 +96,11 @@ std)
chmod 666 fd/*
;;
sd*)
sd*|vnd*)
umask 2 ; unit=`expr $i : '.*[^0-9]\([0-9]*\)'`
case $i in
sd*) name=sd; blk=4; chr=13;;
# vnd*) name=vnd; blk=8; chr=19;;
vnd*) name=vnd; blk=8; chr=19;;
esac
rm -f $name$unit? r$name$unit?
case $unit in