diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-07-15 14:59:22 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-07-15 14:59:22 +0000 |
commit | 4a86d77349a4aa1e1ada6d019d7e2207e9c8ef55 (patch) | |
tree | 8d9ae6da78a1d3f113f5a92ff37fee946b0dcc91 /etc/etc.alpha | |
parent | 86808c1792db3660ec637ca3878dbf939075b0a7 (diff) |
ad rnd devices.
Diffstat (limited to 'etc/etc.alpha')
-rw-r--r-- | etc/etc.alpha/MAKEDEV | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/etc/etc.alpha/MAKEDEV b/etc/etc.alpha/MAKEDEV index aa0c63815bc..ba71e5fb6ff 100644 --- a/etc/etc.alpha/MAKEDEV +++ b/etc/etc.alpha/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.5 1996/06/23 10:07:24 deraadt Exp $ +# $OpenBSD: MAKEDEV,v 1.6 1996/07/15 14:59:05 mickey 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. @@ -69,6 +69,8 @@ # mmclock memory mapped clock # kbd keyboard (provides events, for X11) # mouse mouse (provides events, for X11) +# *rnd inkernel random number generator +# uk* unknown SCSI PATH=/sbin:/usr/sbin:/bin:/usr/bin umask 77 @@ -82,7 +84,7 @@ all) sh MAKEDEV ccd0 ccd1 ccd2 ccd3 sh MAKEDEV bpf0 bpf1 bpf2 bpf3 tun0 tun1 tun2 tun3 sh MAKEDEV ttyB0 ttyB1 ttyC0 ttyC1 ttyE0 ttyE1 lkm - sh MAKEDEV mmclock kbd mouse lpa0 lpt0 + sh MAKEDEV mmclock kbd mouse lpa0 lpt0 rnd sh MAKEDEV local ;; @@ -272,6 +274,24 @@ lpt*|lpa*) chown root.wheel $name$unit ;; +rnd|srnd|urnd|prnd) + rm -f rnd urnd srnd prnd + mknod rnd c 33 0 + mknod srnd c 33 1 + mknod urnd c 33 2 + mknod prnd c 33 3 + chown root.wheel rnd srnd urnd prnd + chmod 644 rnd srnd urnd prnd + ;; + +uk*) + unit=`expr $i : 'uk\(.*\)'` + rm -f uk$unit + mknod uk$unit c 32 $unit + chown root.operator uk$unit + chmod 640 uk$unit + ;; + local) umask 0 sh MAKEDEV.local |