summaryrefslogtreecommitdiff
path: root/etc/etc.vax
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>2000-11-24 20:29:11 +0000
committerHugh Graham <hugh@cvs.openbsd.org>2000-11-24 20:29:11 +0000
commit7469a41343af9bcb01ef221da82769eb12cf3f13 (patch)
treea51d56d77a77bef56dc09d58599b1bac3c2a9634 /etc/etc.vax
parent0aeb678c022d9cb51f254e34bf032cdd5cfca7da (diff)
Rename "md" to "rd", consquently moving the hdHDC9224 disk dev to "hd".
Diffstat (limited to 'etc/etc.vax')
-rw-r--r--etc/etc.vax/MAKEDEV32
1 files changed, 16 insertions, 16 deletions
diff --git a/etc/etc.vax/MAKEDEV b/etc/etc.vax/MAKEDEV
index d60e282b98c..f9bbc54b71c 100644
--- a/etc/etc.vax/MAKEDEV
+++ b/etc/etc.vax/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.21 2000/11/24 20:13:10 hugh Exp $
+# $OpenBSD: MAKEDEV,v 1.22 2000/11/24 20:29:10 hugh Exp $
# $NetBSD: MAKEDEV,v 1.30 2000/01/21 12:28:29 tsutsui Exp $
#
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
@@ -21,17 +21,17 @@
# hp* massbus rm??
# hk* unibus rk06 and rk07
# up* other unibus devices (e.g. on Emulex sc-21v controller)
-# ra* MSCP disks (ra??, rd??)
+# ra* MSCP disks (ra??, hd??)
# rx* MSCP floppy disk (rx33/50/...)
# rl* unibus rl02
# rb* 730 idc w/ rb80 and/or rb02
# ccd* "concatenated" pseudo-disks
# raid* RAIDframe disk driver
# vnd* "file" pseudo-disks
-# rd* HDC9224 rd disks on VS2000
+# rd* memory pseudo-disk devices
# sd* SCSI disks
# cd* SCSI CD-ROM
-# md* memory pseudo-disk devices
+# hd* HDC9224 hd disks on VS2000
# Terminal multiplexors:
# dz* unibus dz11 and dz32
# dh* unibus dh11 and emulations (e.g. Able dmax, Emulex cs-11)
@@ -73,7 +73,7 @@ all)
sh $0 std fd vnd0 ccd0 pty0 pty1 lkm random
sh $0 bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7
sh $0 mt0 mt1 ts0 ts1 st0 st1 uk0 ss0 cd0 vt0
- sh $0 ra0 ra1 ra2 ra3 hp0 hp1 hp2 hp3 sd0 sd1 sd2 sd3 rd0 rd1 rd2
+ sh $0 ra0 ra1 ra2 ra3 hp0 hp1 hp2 hp3 sd0 sd1 sd2 sd3 hd0 hd1 hd2
sh $0 dz0 dl0 dhu0 rx0 rx1 raid0 raid1 raid2 raid3
;;
@@ -265,7 +265,7 @@ vnd*)
umask 77
;;
-hp*|hk*|up*|ra*|rl*|rb*|ccd*|rd*|sd*|rx*|raid*)
+hp*|hk*|up*|ra*|rl*|rb*|ccd*|hd*|sd*|rx*|raid*)
umask 2
case $i in
hp*) name=hp; unit=${i#hp}; blk=0; chr=4;;
@@ -277,7 +277,7 @@ hp*|hk*|up*|ra*|rl*|rb*|ccd*|rd*|sd*|rx*|raid*)
rx*) name=rx; unit=${i#rx}; blk=12; chr=30;;
rl*) name=rl; unit=${i#rl}; blk=14; chr=32;;
ccd*) name=ccd; unit=${i#ccd}; blk=17; chr=54;;
- rd*) name=rd; unit=${i#rd}; blk=19; chr=58;;
+ hd*) name=hd; unit=${i#hd}; blk=19; chr=58;;
sd*) name=sd; unit=${i#sd}; blk=20; chr=59;;
esac
case $unit in
@@ -336,15 +336,15 @@ ch*|uk*)
chmod 640 $name$unit
;;
-md*)
- unit=${i#md}; blk=23; chr=62;
- rm -f md${unit}? rmd${unit}?
- mknod md${unit}a b $blk $(($unit * 16 + 0))
- mknod md${unit}c b $blk $(($unit * 16 + 2))
-# mknod rmd${unit}a c $chr $(($unit * 16 + 0))
-# mknod rmd${unit}c c $chr $(($unit * 16 + 2))
- chgrp operator md${unit}? #rmd${unit}?
- chmod 640 md${unit}? #rmd${unit}?
+rd*)
+ unit=${i#rd}; blk=23; chr=62;
+ rm -f rd${unit}? rrd${unit}?
+ mknod rd${unit}a b $blk $(($unit * 16 + 0))
+ mknod rd${unit}c b $blk $(($unit * 16 + 2))
+# mknod rrd${unit}a c $chr $(($unit * 16 + 0))
+# mknod rrd${unit}c c $chr $(($unit * 16 + 2))
+ chgrp operator rd${unit}? #rrd${unit}?
+ chmod 640 rd${unit}? #rrd${unit}?
;;
uu*)