Browse Source

Ramdisk stuff

OPENBSD_2_1
niklas 28 years ago
parent
commit
60e41d14fa
2 changed files with 16 additions and 3 deletions
  1. +10
    -2
      src/etc/etc.alpha/MAKEDEV
  2. +6
    -1
      src/etc/etc.alpha/disktab

+ 10
- 2
src/etc/etc.alpha/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.14 1997/05/06 19:49:56 niklas Exp $
# $OpenBSD: MAKEDEV,v 1.15 1997/05/07 12:52:22 niklas Exp $
# $NetBSD: MAKEDEV,v 1.8.4.1 1996/06/18 00:41:56 cgd Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@ -91,6 +91,13 @@ all)
sh MAKEDEV local
;;
raminst)
sh MAKEDEV std
sh MAKEDEV sd0 sd1 sd2 sd3 sd4 st0 st1 cd0 cd1
sh MAKEDEV rd0
sh MAKEDEV ttyB0 ttyB1 ttyC0 ttyC1 ttyE0 ttyE1 pty0
;;
std)
rm -f console drum mem kmem null zero io tty klog stdin stdout stderr
mknod console c 0 0
@ -117,9 +124,10 @@ fd)
chmod 666 fd/*
;;
sd*|vnd*|ccd*)
sd*|vnd*|ccd*|rd*)
umask 2 ; unit=`expr $i : '.*d\(.*\)'`
case $i in
rd*) name=rd; blk=6; chr=28;;
sd*) name=sd; blk=8; chr=8;;
vnd*) name=vnd; blk=9; chr=9;;
ccd*) name=ccd; blk=7; chr=27;;


+ 6
- 1
src/etc/etc.alpha/disktab View File

@ -1,4 +1,4 @@
# $OpenBSD: disktab,v 1.4 1997/05/03 00:39:48 graichen Exp $
# $OpenBSD: disktab,v 1.5 1997/05/07 12:52:22 niklas Exp $
# $NetBSD: disktab,v 1.2 1995/10/13 03:09:39 cgd Exp $
# A DEC RZ25, configured so that all of the free partition IDs are at
@ -10,6 +10,11 @@ rz25|RZ25|DEC RZ25 SCSI:\
:pc#823608:oc#0:\
:pd#600408:od#223200:bd#8192:fd#1024:td=4.2BSD:
rdroot:\
:ty=ramdisk:se#512:nt#2:rm#300:ns#5:nc#1024:\
:pa#5120:oa#0:ta=4.2BSD:ba#4096:fa#512: \
:pc#5120:oc#0:
simpleroot:\
:ty=winchester:\
:dt=SCSI:\


Loading…
Cancel
Save