diff options
-rw-r--r-- | etc/etc.i386/MAKEDEV | 12 | ||||
-rw-r--r-- | etc/etc.sparc/MAKEDEV | 12 |
2 files changed, 21 insertions, 3 deletions
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index 3535cf1bcb2..2c80092b87b 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.74 1999/12/05 19:19:08 mickey Exp $ +# $OpenBSD: MAKEDEV,v 1.75 2000/02/21 08:22:44 mjacob Exp $ # $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $ # # Copyright (c) 1990 The Regents of the University of California. @@ -88,6 +88,7 @@ # pcmcia* PCMCIA card drivers # *random inkernel random number generator # uk* "unknown SCSI" devices +# ses* SES/SAF-TE SCSI devives # ss* SCSI scanners # xfs* XFS filesystem devices # bktr0 video capturing @@ -186,7 +187,7 @@ all) sh $this ipl tun0 tun1 tun2 sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 sh $this speaker lkm mms0 lms0 pms0 audio joy0 joy1 apm local - sh $this random uk0 uk1 ss0 ss1 pctr bktr0 tuner0 wdt0 + sh $this random ses0 uk0 uk1 ss0 ss1 pctr bktr0 tuner0 wdt0 sh $this fd0 fd0B fd0C fd0D fd0E fd0F fd0G fd0H sh $this fd1 fd1B fd1C fd1D fd1E fd1F fd1G fd1H sh $this xfs0 music @@ -655,6 +656,13 @@ uk*) chmod 640 uk$unit ;; +ses*) + rm -f ses$unit + mknod ses$unit c 24 $unit + chown root.operator ses$unit + chmod 640 ses$unit + ;; + ss*) rm -f ss$unit mknod ss$unit c 19 $unit diff --git a/etc/etc.sparc/MAKEDEV b/etc/etc.sparc/MAKEDEV index b4e95df7751..dff7542d164 100644 --- a/etc/etc.sparc/MAKEDEV +++ b/etc/etc.sparc/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.60 1999/09/04 03:28:04 jason Exp $ +# $OpenBSD: MAKEDEV,v 1.61 2000/02/21 08:22:08 mjacob Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -48,6 +48,7 @@ # cd* SCSI cdrom drives # ch* SCSI media changer # uk* SCSI Unknown device +# ses* SCSI SES/SAF-TE device # ss* SCSI scanners # xy* Xylogic 450/451 disks # rd* "ramdisk" pseudo-disks @@ -200,6 +201,7 @@ all) sh $this fd0 fd0B fd0C fd0D fd0E fd0F fd0G fd0H sh $this uk0 uk1 sh $this ss0 ss1 + sh $this ses0 sh $this pty0 vnd0 vnd1 vnd2 vnd3 audio tun0 tun1 tun2 tun3 sh $this ccd0 ccd1 ccd2 ccd3 sh $this raid0 raid1 raid2 raid3 @@ -716,6 +718,14 @@ uk*) chmod 640 uk$unit ;; +ses*) + unit=`trunc $i ses` + rm -f ses$unit + mknod ses$unit c 124 $unit + chown root.operator ses$unit + chmod 640 ses$unit + ;; + ss*) unit=`trunc $i ss` rm -f ss$unit |