diff options
Diffstat (limited to 'etc/etc.arc')
-rw-r--r-- | etc/etc.arc/MAKEDEV | 19 | ||||
-rw-r--r-- | etc/etc.arc/Makefile.inc | 8 | ||||
-rw-r--r-- | etc/etc.arc/disktab | 6 | ||||
-rw-r--r-- | etc/etc.arc/mbr | bin | 0 -> 512 bytes | |||
-rw-r--r-- | etc/etc.arc/msdos5mb.gz | bin | 0 -> 9191 bytes |
5 files changed, 26 insertions, 7 deletions
diff --git a/etc/etc.arc/MAKEDEV b/etc/etc.arc/MAKEDEV index addf9ce23e1..0b35eb3b20b 100644 --- a/etc/etc.arc/MAKEDEV +++ b/etc/etc.arc/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.17 1997/05/14 18:31:15 niklas Exp $ +# $OpenBSD: MAKEDEV,v 1.18 1997/05/18 13:42:37 pefo Exp $ # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # @@ -73,6 +73,11 @@ all) sh MAKEDEV ttyC0 lpt0 pms0 random bpf0 local ;; +ramdisk) + sh MAKEDEV std fd0 wd0 wd1 wd2 wd3 sd0 sd1 sd2 st0 acd0 cd0 + sh MAKEDEV tty00 tty01 ttyC0 lpt0 random rd0 + ;; + std) mknod console c 0 0 mknod drum c 1 0 ; chmod 640 drum ; chown root.kmem drum @@ -160,7 +165,17 @@ bpf*|tun*) chown root.wheel $name$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 22 `expr $unit '*' 16 + 0` + mknod rrd${unit}c c 22 `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 112 0 diff --git a/etc/etc.arc/Makefile.inc b/etc/etc.arc/Makefile.inc index 19b45e91aef..39bd6700053 100644 --- a/etc/etc.arc/Makefile.inc +++ b/etc/etc.arc/Makefile.inc @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile.inc,v 1.2 1997/02/09 08:50:15 deraadt Exp $ +# $OpenBSD: Makefile.inc,v 1.3 1997/05/18 13:42:37 pefo Exp $ # # etc.arc/Makefile.inc -- arc-specific etc Makefile targets .ifdef DESTDIR -snap_md: binutils bsd +snap_md: binutils bsd ramdisk binutils: cd ${DESTDIR} && tar cf - usr/*openbsd* \ @@ -19,4 +19,8 @@ bsd: cp ${.CURDIR}/../sys/arch/arc/compile/GENERIC/bsd.ecoff \ ${DESTDIR}/snapshot/bsd.ecoff +ramdisk: + cd ${.CURDIR}/../distrib/arc/ramdisk && make cleandir && \ + make && make install + .endif diff --git a/etc/etc.arc/disktab b/etc/etc.arc/disktab index dedb9a90150..1d6d5701e62 100644 --- a/etc/etc.arc/disktab +++ b/etc/etc.arc/disktab @@ -29,9 +29,9 @@ # rdroot|ramdiskroot|RAM-disk root FS image:\ - :ty=simulated:se#512:nc#16:nt#2:ns#128:\ - :ta=4.2BSD:oa#0:pa#4046:fa#512:ba#4096:\ - :ob#0:pb#0:oc#0:pc#4096: + :ty=simulated:se#512:nc#20:nt#5:ns#200:\ + :ta=4.2BSD:oa#0:pa#20000:fa#1024:ba#4096:\ + :ob#0:pb#0:oc#0:pc#20000: # Seagate ST31200N ST31200N-MBR:\ diff --git a/etc/etc.arc/mbr b/etc/etc.arc/mbr Binary files differnew file mode 100644 index 00000000000..5c3d71a2999 --- /dev/null +++ b/etc/etc.arc/mbr diff --git a/etc/etc.arc/msdos5mb.gz b/etc/etc.arc/msdos5mb.gz Binary files differnew file mode 100644 index 00000000000..6508b105bf3 --- /dev/null +++ b/etc/etc.arc/msdos5mb.gz |