summaryrefslogtreecommitdiff
path: root/etc/etc.pc532/MAKEDEV
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2000-03-22 08:34:18 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2000-03-22 08:34:18 +0000
commitcd25a739a0cf3323778823fd4586905167a3699a (patch)
treee3430a25c0b821fa496d999681f51baeb6b2dd23 /etc/etc.pc532/MAKEDEV
parent1766a6e98b8a26900b00da59fab826d494783c8f (diff)
Add ch to some dead ports for consistency, of course not tested.
Diffstat (limited to 'etc/etc.pc532/MAKEDEV')
-rw-r--r--etc/etc.pc532/MAKEDEV13
1 files changed, 12 insertions, 1 deletions
diff --git a/etc/etc.pc532/MAKEDEV b/etc/etc.pc532/MAKEDEV
index e1436095896..e3aca0bfbdd 100644
--- a/etc/etc.pc532/MAKEDEV
+++ b/etc/etc.pc532/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.18 2000/03/22 07:34:29 niklas Exp $
+# $OpenBSD: MAKEDEV,v 1.19 2000/03/22 08:34:16 niklas Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -49,6 +49,7 @@
# lpt* Matthias's lp interface
#
# Special purpose devices:
+# ch* SCSI media changer
# fd file descriptors
# bpf* packet filter
# lkm loadable kernel modules interface
@@ -240,6 +241,16 @@ st*)
umask 77
;;
+ch*)
+ umask 2
+ name=ch; chr=16
+ rm -f $name$unit
+ mknod ${name}${unit} c $chr $unit
+ chown root.operator ${name}${unit}
+ chmod 660 ${name}${unit}
+ umask 77
+ ;;
+
cd*)
umask 2 ; unit=`expr $i : '.*cd\(.*\)'`
case $i in