diff options
author | sos <sos@FreeBSD.org> | 1998-09-09 18:59:46 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 1998-09-09 18:59:46 +0000 |
commit | 5f7cd1870b4f9a20fb1d999f164e0d7687fe7692 (patch) | |
tree | 2f8adea50124b251d61e03962b5bbecfdb5292fe /etc/MAKEDEV | |
parent | b54418d7c985e6962001b3141e235d1e3032dd52 (diff) | |
download | FreeBSD-src-5f7cd1870b4f9a20fb1d999f164e0d7687fe7692.zip FreeBSD-src-5f7cd1870b4f9a20fb1d999f164e0d7687fe7692.tar.gz |
Add the wst device (ATAPI tape)
Allow 8 wcd devices instead of 4.
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r-- | etc/MAKEDEV | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 401bbaf..8e4786b 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -108,7 +108,7 @@ # pci PCI configuration-space access from user mode # ipl ipfilter control devices (ipl, ipnat, ipstate, ipauth) # -# $Id: MAKEDEV,v 1.167 1998/08/10 10:17:46 phk Exp $ +# $Id: MAKEDEV,v 1.168 1998/08/14 06:21:34 phk Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH @@ -196,7 +196,7 @@ all) sh MAKEDEV od0 # bdev, optical disk sh MAKEDEV wfd0 # bdev, LS-120 floppy sh MAKEDEV vn0 # bdev, virtual disk - sh MAKEDEV cd0 matcd0 mcd0 scd0 wcd0 # bdev, cdrom + sh MAKEDEV cd0 matcd0 mcd0 scd0 wcd0 wst0 # bdev, cdrom sh MAKEDEV ft0 st0 wt0 # bdev, tape sh MAKEDEV vty4 # cdev, virtual tty sh MAKEDEV cuaa0 cuaa1 cuaa2 cuaa3 # cdev, serial tty @@ -684,7 +684,7 @@ wcd*) blk=19 chr=69 case $unit in - 0|1|2|3) + 0|1|2|3|4|5|6|7) mknod wcd${unit}a b $blk `expr $unit '*' 8 + 0` mknod rwcd${unit}a c $chr `expr $unit '*' 8 + 0` mknod wcd${unit}c b $blk `expr $unit '*' 8 + 2` @@ -699,6 +699,20 @@ wcd*) umask 77 ;; +wst*) + umask 2 ; + unit=`expr $i : '...\(.*\)'` + chr=90 + case $unit in + 0|1|2|3) + mknod rwst${unit} c $chr `expr $unit '*' 8 + 0` + chgrp operator rwst${unit} + chmod 640 rwst${unit} + ;; + esac + umask 77 + ;; + lpt*) unit=`expr $i : 'lpt\(.*\)'` mknod lpt$unit c 16 $unit |