diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1997-02-16 10:40:51 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1997-02-16 10:40:51 +0000 |
commit | 4aefd32ee77b4b1a48834fe3fc4a35d9c63b2479 (patch) | |
tree | 1ee08ff44c3c10d636600783464d00bb72f34857 /etc | |
parent | b8688f2ada91c748989ef5f9f52459ac8842b0f5 (diff) |
Add rd device and raminst from mvme68k.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/etc.hp300/MAKEDEV | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/etc/etc.hp300/MAKEDEV b/etc/etc.hp300/MAKEDEV index 9fdb35f87af..47ff1cf44e4 100644 --- a/etc/etc.hp300/MAKEDEV +++ b/etc/etc.hp300/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.13 1997/02/10 01:34:08 downsj Exp $ +# $OpenBSD: MAKEDEV,v 1.14 1997/02/16 10:40:50 downsj Exp $ # $NetBSD: MAKEDEV,v 1.12 1995/11/05 23:50:22 thorpej Exp $ # # Copyright (c) 1990 The Regents of the University of California. @@ -74,12 +74,19 @@ case $i in all) sh MAKEDEV std fd ct0 ct1 st0 st1 ccd0 ccd1 ccd2 hd0 hd1 hd2 - sh MAKEDEV sd0 sd1 sd2 pty0 vnd0 vnd1 vnd2 vnd3 + sh MAKEDEV sd0 sd1 sd2 rd0 rd1 pty0 vnd0 vnd1 vnd2 vnd3 sh MAKEDEV hil grf0 ite0 dca0 dcm0 dcm1 dcm2 dcm3 sh MAKEDEV bpf0 bpf1 bpf2 bpf3 ipl tun0 tun1 tun2 tun3 lkm random sh MAKEDEV local ;; +raminst) + sh MAKEDEV std fd ct0 ct1 st0 st1 hd0 hd1 hd2 + sh MAKEDEV sd0 sd1 sd2 rd0 rd1 pty0 + sh MAKEDEV hil grf0 ite0 dca0 dcm0 dcm1 + sh MAKEDEV bpf0 bpf1 tun0 tun1 lkm random + ;; + std) rm -f console drum kmem mem null zero tty klog stdin stdout stderr mknod console c 0 0 @@ -165,6 +172,17 @@ tun*) chown root.wheel tun$unit ;; +rd*) + umask 2 ; unit=`expr $i : '.*d\(.*\)'` + mknod rd${unit}a b 8 `expr $unit '*' 16 + 0` + mknod rd${unit}c b 8 `expr $unit '*' 16 + 2` + mknod rrd${unit}a c 34 `expr $unit '*' 16 + 0` + mknod rrd${unit}c c 34 `expr $unit '*' 16 + 2` + chown root.operator rd${unit}[ac] rrd${unit}[ac] + chmod 640 rd${unit}[ac] rrd${unit}[ac] + umask 77 + ;; + ccd*|hd*|sd*|vnd*) umask 2 ; unit=`expr $i : '.*d\(.*\)'` case $i in |