sh MAKEDEV sd0 sd1 sd2 sd3 st0 st1 cd0 cd1
sh MAKEDEV vnd0 vnd1 vnd2 vnd3
sh MAKEDEV ccd0 ccd1 ccd2 ccd3
+ sh MAKEDEV rd0
sh MAKEDEV grf0 grf1 grf2 grf3 ttye0
sh MAKEDEV tty00 tty01 pty0
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7
sd*) name=sd; blk=4; chr=13;;
vnd*) name=vnd; blk=14; chr=19;;
ccd*) name=ccd; blk=16; chr=20;;
- rd*) name=rd; blk=17; chr=17;;
esac
rm -f $name$unit? r$name$unit?
case $unit in
chown root.wheel tun$unit
;;
+rd*)
+ blk=17; chr=17;
+ umask 2 ; unit=`expr $i : '.*d\(.*\)'`
+ mknod rd${unit}a b ${blk} `expr $unit '*' 16 + 0`
+ mknod rd${unit}c b ${blk} `expr $unit '*' 16 + 2`
+ mknod rrd${unit}a c ${chr} `expr $unit '*' 16 + 0`
+ mknod rrd${unit}c c ${chr} `expr $unit '*' 16 + 2`
+ chown root.operator rd${unit}[ac] rrd${unit}[ac]
+ chmod 640 rd${unit}[ac] rrd${unit}[ac]
+ umask 77
+ ;;
+
lkm)
rm -f lkm
mknod lkm c 25 0
-# $Id: disktab,v 1.1.1.1 1996/12/21 20:41:16 rahnds Exp $
+# $Id: disktab,v 1.2 1997/02/18 16:10:25 rahnds Exp $
#
# @(#)disktab 5.5 (Berkeley) 2/27/91
#
# f[a-h] partition fragment sizes in bytes
#
+
+# Leave nc=16; adjust size using: ns
+rdroot|ramdiskroot|RAM-disk root FS image:\
+ :ty=simulated:se#512:nc#16:nt#2:ns#128:\
+ :ta=4.4BSD:oa#0:pa#4096:fa#512:ba#4096:\
+ :ob#0:pb#0:oc#0:pc#4096:
+
# pseudo-geometry taken from rd7945
miniroot:\
:ty=winchester:ns#16:nt#7:nc#968:\