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.pica/MAKEDEV | |
parent | 86808c1792db3660ec637ca3878dbf939075b0a7 (diff) |
ad rnd devices.
Diffstat (limited to 'etc/etc.pica/MAKEDEV')
-rw-r--r-- | etc/etc.pica/MAKEDEV | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/etc/etc.pica/MAKEDEV b/etc/etc.pica/MAKEDEV index e418409d6b7..66ad581080d 100644 --- a/etc/etc.pica/MAKEDEV +++ b/etc/etc.pica/MAKEDEV @@ -39,6 +39,7 @@ # bpf* packet filter # lkm loadable kernel modules interface # tun* network tunnel driver +# *rnd random data source # # Platform-specific devices: # @@ -51,7 +52,7 @@ case $i in all) sh MAKEDEV std fd fd0 sd0 sd1 sd2 st0 cd0 tty0 tty1 pty0 pty1 - sh MAKEDEV ttyv0 lpt0 pms0 local + sh MAKEDEV ttyv0 lpt0 pms0 rnd local ;; std) @@ -241,6 +242,16 @@ pty*) esac ;; +rnd|srnd|urnd|prnd) + rm -f rnd urnd srnd prnd + mknod rnd c 32 0 + mknod srnd c 32 1 + mknod urnd c 32 2 + mknod prnd c 32 3 + chown root.wheel rnd srnd urnd prnd + chmod 644 rnd srnd urnd prnd + ;; + local) umask 0 sh MAKEDEV.local |