From 1a56b09e77737db2dadd1c7542b8f1e4a99b5188 Mon Sep 17 00:00:00 2001 From: niklas <> Date: Wed, 22 Mar 2000 08:34:16 +0000 Subject: [PATCH] Add ch to some dead ports for consistency, of course not tested. --- src/etc/etc.atari/MAKEDEV | 11 +++++++++++ src/etc/etc.pc532/MAKEDEV | 13 ++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/src/etc/etc.atari/MAKEDEV b/src/etc/etc.atari/MAKEDEV index 53d91b55..e4881a71 100644 --- a/src/etc/etc.atari/MAKEDEV +++ b/src/etc/etc.atari/MAKEDEV @@ -72,6 +72,7 @@ # pty* set of 16 master and slave pseudo terminals # # Special purpose devices: +# ch* SCSI media changer # grf* Motherboard bitmapped video. # kbd Atari keyboard. # view* generic interface to graphic displays. @@ -180,6 +181,16 @@ st*) 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*) umask 2 ; unit=`expr $i : '.*[^0-9]\([0-9]*\)'` rm -f fd$unit? rfd$unit? diff --git a/src/etc/etc.pc532/MAKEDEV b/src/etc/etc.pc532/MAKEDEV index e1436095..e3aca0bf 100644 --- a/src/etc/etc.pc532/MAKEDEV +++ b/src/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