This commit is contained in:
bjh21 2000-12-27 22:21:47 +00:00
parent c00a8ab5fd
commit 144e2eb120
1 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $NetBSD: MAKEDEV,v 1.3 2000/08/17 14:13:41 bjh21 Exp $
# $NetBSD: MAKEDEV,v 1.4 2000/12/27 22:21:47 bjh21 Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -83,6 +83,7 @@ all)
sh $0 std fd pty0 pty1 pty2 pty3
sh $0 vnd0 vnd1 vnd2 vnd3
sh $0 ccd0 ccd1 ccd2 ccd3 md0 md1
sh $0 wd0 wd1
sh $0 wskbd0 wsmouse0
sh $0 wscons
sh $0 com0 lpt0
@ -170,10 +171,11 @@ md*)
chmod 640 md${unit}? #rmd${unit}?
;;
ccd*|vnd*)
ccd*|vnd*|wd*)
case $i in
ccd*) name=ccd; unit=${i#ccd}; blk=3; chr=9;;
vnd*) name=vnd; unit=${i#vnd}; blk=2; chr=8;;
wd*) name=wd; unit=${i#wd}; blk=4; chr=15;;
esac
rm -f $name$unit? r$name$unit?
mknod ${name}${unit}a b $blk $(($unit * 8 + 0))