Added vn*, doing the same thing as sd* and wd*. (Disklabel support will

be added to the vn driver).
This commit is contained in:
Poul-Henning Kamp 1994-12-04 20:15:15 +00:00
parent 4da31dbbaa
commit d71771e8e3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4967
2 changed files with 12 additions and 8 deletions

View File

@ -39,6 +39,7 @@
# sd* "scsi disks"
# cd* "scsi cdrom disks"
# mcd* "mitsumi cdrom disks"
# vn* "vnode disks"
#
# Console ports:
# pc* devices for stock pccons
@ -71,7 +72,7 @@
# socksys iBCS2 socket system driver
# vat VAT compatibility audio driver (requires snd*)
#
# $Id: MAKEDEV,v 1.51 1994/12/03 00:07:49 wollman Exp $
# $Id: MAKEDEV,v 1.53 1994/12/03 14:01:01 jkh Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@ -246,11 +247,12 @@ ft*)
;;
sd*|wd*)
sd*|vn*|wd*)
umask 2 ; unit=`expr $i : '..\(.*\)'`
case $i in
sd*) name=sd; blk=4; chr=13;;
wd*) name=wd; blk=0; chr=3;;
sd*) name=sd; blk=4; chr=13;;
wd*) name=wd; blk=0; chr=3;;
vn*) name=vn; blk=15; chr=43;;
esac
rm -f $name$unit? r$name$unit?
case $unit in

View File

@ -39,6 +39,7 @@
# sd* "scsi disks"
# cd* "scsi cdrom disks"
# mcd* "mitsumi cdrom disks"
# vn* "vnode disks"
#
# Console ports:
# pc* devices for stock pccons
@ -71,7 +72,7 @@
# socksys iBCS2 socket system driver
# vat VAT compatibility audio driver (requires snd*)
#
# $Id: MAKEDEV,v 1.51 1994/12/03 00:07:49 wollman Exp $
# $Id: MAKEDEV,v 1.53 1994/12/03 14:01:01 jkh Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@ -246,11 +247,12 @@ ft*)
;;
sd*|wd*)
sd*|vn*|wd*)
umask 2 ; unit=`expr $i : '..\(.*\)'`
case $i in
sd*) name=sd; blk=4; chr=13;;
wd*) name=wd; blk=0; chr=3;;
sd*) name=sd; blk=4; chr=13;;
wd*) name=wd; blk=0; chr=3;;
vn*) name=vn; blk=15; chr=43;;
esac
rm -f $name$unit? r$name$unit?
case $unit in