From 6a13dd7b95d7608c8756fe0866205997748d8839 Mon Sep 17 00:00:00 2001 From: downsj Date: Sun, 16 Feb 1997 10:40:50 +0000 Subject: [PATCH] Add rd device and raminst from mvme68k. --- etc/etc.hp300/MAKEDEV | 22 ++++++++++++++++++++-- 1 file 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 -- 2.20.1