Browse Source

Add ch to some dead ports for consistency, of course not tested.

OPENBSD_2_7
niklas 25 years ago
parent
commit
1a56b09e77
2 changed files with 23 additions and 1 deletions
  1. +11
    -0
      src/etc/etc.atari/MAKEDEV
  2. +12
    -1
      src/etc/etc.pc532/MAKEDEV

+ 11
- 0
src/etc/etc.atari/MAKEDEV View File

@ -72,6 +72,7 @@
# pty* set of 16 master and slave pseudo terminals # pty* set of 16 master and slave pseudo terminals
# #
# Special purpose devices: # Special purpose devices:
# ch* SCSI media changer
# grf* Motherboard bitmapped video. # grf* Motherboard bitmapped video.
# kbd Atari keyboard. # kbd Atari keyboard.
# view* generic interface to graphic displays. # view* generic interface to graphic displays.
@ -180,6 +181,16 @@ st*)
umask 77 umask 77
;; ;;
ch*)
umask 2
name=ch; chr=33
rm -f $name$unit
mknod ${name}${unit} c $chr $unit
chown root.operator ${name}${unit}
chmod 660 ${name}${unit}
umask 77
;;
fd*) fd*)
umask 2 ; unit=`expr $i : '.*[^0-9]\([0-9]*\)'` umask 2 ; unit=`expr $i : '.*[^0-9]\([0-9]*\)'`
rm -f fd$unit? rfd$unit? rm -f fd$unit? rfd$unit?


+ 12
- 1
src/etc/etc.pc532/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/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. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.
@ -49,6 +49,7 @@
# lpt* Matthias's lp interface # lpt* Matthias's lp interface
# #
# Special purpose devices: # Special purpose devices:
# ch* SCSI media changer
# fd file descriptors # fd file descriptors
# bpf* packet filter # bpf* packet filter
# lkm loadable kernel modules interface # lkm loadable kernel modules interface
@ -240,6 +241,16 @@ st*)
umask 77 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*) cd*)
umask 2 ; unit=`expr $i : '.*cd\(.*\)'` umask 2 ; unit=`expr $i : '.*cd\(.*\)'`
case $i in case $i in


Loading…
Cancel
Save