summaryrefslogtreecommitdiff
path: root/etc/etc.sparc/MAKEDEV
diff options
context:
space:
mode:
authormjacob <mjacob@cvs.openbsd.org>2000-02-21 08:22:45 +0000
committermjacob <mjacob@cvs.openbsd.org>2000-02-21 08:22:45 +0000
commit777c643e80d545ca72ecc30870fd8fef53aa9751 (patch)
tree1f9d64a33e1f343b7bbbd5a704f45c28c622bb16 /etc/etc.sparc/MAKEDEV
parent1d3412b9698046cdfb0f3e463d954d2e3312ddc5 (diff)
add SES device
Diffstat (limited to 'etc/etc.sparc/MAKEDEV')
-rw-r--r--etc/etc.sparc/MAKEDEV12
1 files changed, 11 insertions, 1 deletions
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