diff options
author | Joerg Wunsch <joerg@FreeBSD.org> | 1995-08-19 15:50:56 +0000 |
---|---|---|
committer | Joerg Wunsch <joerg@FreeBSD.org> | 1995-08-19 15:50:56 +0000 |
commit | d96ce489ccb6e4aee743f91d1a065e9d81382146 (patch) | |
tree | 20264678a0cbc00288f1dd0f45ebd5ca5bddcb53 /etc | |
parent | e9328d1ba4e83c36796d158c8607a9f0566b0358 (diff) | |
download | src-d96ce489ccb6e4aee743f91d1a065e9d81382146.tar.gz src-d96ce489ccb6e4aee743f91d1a065e9d81382146.zip |
Install the hooks for the Japanese `od' driver (aka. MOD).
Submitted by: akiyama@kme.mei.co.jp (Shunsuke Akiyama)
Notes
Notes:
svn path=/head/; revision=10108
Diffstat (limited to 'etc')
-rw-r--r-- | etc/MAKEDEV | 11 | ||||
-rw-r--r-- | etc/etc.i386/MAKEDEV | 11 |
2 files changed, 14 insertions, 8 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 44fae9f5214a..8dade5e7f2f8 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -44,6 +44,7 @@ # scd* "sony cdrom disks" # matcd* "Matsushita (panasonic) cdrom disks" # vn* "vnode disks" +# od* "optical disks" # # Console ports: # vty* virtual console devices for syscons/pcvt/codrv @@ -87,7 +88,7 @@ # isdn* ISDN devices # labpc* National Instrument's Lab-PC and LAB-PC+ # -# $Id: MAKEDEV,v 1.101 1995/08/13 22:05:51 peter Exp $ +# $Id: MAKEDEV,v 1.102 1995/08/18 11:29:05 jkh Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin: @@ -224,12 +225,13 @@ wt*) ;; # Individual slices. -sd*s*|vn*s*|wd*s*) +sd*s*|vn*s*|wd*s*|od*s*) umask 37 case $i in sd*s*) name=sd; blk=4; chr=13;; wd*s*) name=wd; blk=0; chr=3;; vn*s*) name=vn; blk=15; chr=43;; + od*s*) name=od; blk=20; chr=70;; esac unit=`expr $i : '..\([0-9]*\)s'` slice=`expr $i : '..[0-9]*s\([0-9]*\)'` @@ -388,12 +390,13 @@ ft*) umask 77 ;; -sd*|vn*|wd*) +sd*|vn*|wd*|od*) umask 37 case $i in sd*) name=sd; blk=4; chr=13;; wd*) name=wd; blk=0; chr=3;; vn*) name=vn; blk=15; chr=43;; + od*) name=od; blk=20; chr=70;; esac unit=`expr $i : '..\(.*\)'` case $unit in @@ -403,7 +406,7 @@ sd*|vn*|wd*) sh MAKEDEV $name$unit$slicepartname done case $name in - sd) + sd|od) rm -f r${name}${unit}.ctl mknod r${name}${unit}.ctl c $chr `expr $unit '*' 8 + $scsictl ` chmod 600 r${name}${unit}.ctl diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index 44fae9f5214a..8dade5e7f2f8 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -44,6 +44,7 @@ # scd* "sony cdrom disks" # matcd* "Matsushita (panasonic) cdrom disks" # vn* "vnode disks" +# od* "optical disks" # # Console ports: # vty* virtual console devices for syscons/pcvt/codrv @@ -87,7 +88,7 @@ # isdn* ISDN devices # labpc* National Instrument's Lab-PC and LAB-PC+ # -# $Id: MAKEDEV,v 1.101 1995/08/13 22:05:51 peter Exp $ +# $Id: MAKEDEV,v 1.102 1995/08/18 11:29:05 jkh Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin: @@ -224,12 +225,13 @@ wt*) ;; # Individual slices. -sd*s*|vn*s*|wd*s*) +sd*s*|vn*s*|wd*s*|od*s*) umask 37 case $i in sd*s*) name=sd; blk=4; chr=13;; wd*s*) name=wd; blk=0; chr=3;; vn*s*) name=vn; blk=15; chr=43;; + od*s*) name=od; blk=20; chr=70;; esac unit=`expr $i : '..\([0-9]*\)s'` slice=`expr $i : '..[0-9]*s\([0-9]*\)'` @@ -388,12 +390,13 @@ ft*) umask 77 ;; -sd*|vn*|wd*) +sd*|vn*|wd*|od*) umask 37 case $i in sd*) name=sd; blk=4; chr=13;; wd*) name=wd; blk=0; chr=3;; vn*) name=vn; blk=15; chr=43;; + od*) name=od; blk=20; chr=70;; esac unit=`expr $i : '..\(.*\)'` case $unit in @@ -403,7 +406,7 @@ sd*|vn*|wd*) sh MAKEDEV $name$unit$slicepartname done case $name in - sd) + sd|od) rm -f r${name}${unit}.ctl mknod r${name}${unit}.ctl c $chr `expr $unit '*' 8 + $scsictl ` chmod 600 r${name}${unit}.ctl |