summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1997-05-07 12:52:22 +0000
committerniklas <niklas@openbsd.org>1997-05-07 12:52:22 +0000
commitf65cd823752ee52a1d76bc0aa6bb9a2edf629bbd (patch)
tree49359aa4aff6a30a94588a3bfc15652abadbc84c
parent*Very* rough cut at a ramdisk-kernel that fits onto a floppy. (diff)
downloadwireguard-openbsd-f65cd823752ee52a1d76bc0aa6bb9a2edf629bbd.tar.xz
wireguard-openbsd-f65cd823752ee52a1d76bc0aa6bb9a2edf629bbd.zip
Ramdisk stuff
-rw-r--r--etc/etc.alpha/MAKEDEV12
-rw-r--r--etc/etc.alpha/disktab7
2 files changed, 16 insertions, 3 deletions
diff --git a/etc/etc.alpha/MAKEDEV b/etc/etc.alpha/MAKEDEV
index 816254cd0f0..bf2dfd9584d 100644
--- a/etc/etc.alpha/MAKEDEV
+++ b/etc/etc.alpha/MAKEDEV
@@ -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;;
diff --git a/etc/etc.alpha/disktab b/etc/etc.alpha/disktab
index 0e8c9f259b3..b022f80c15d 100644
--- a/etc/etc.alpha/disktab
+++ b/etc/etc.alpha/disktab
@@ -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:\