diff --git a/etc/etc.alpha/MAKEDEV b/etc/etc.alpha/MAKEDEV index dacdfabbd563..c6314f8715da 100644 --- a/etc/etc.alpha/MAKEDEV +++ b/etc/etc.alpha/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $NetBSD: MAKEDEV,v 1.26 1997/11/15 18:38:30 cjs Exp $ +# $NetBSD: MAKEDEV,v 1.27 1997/11/20 05:57:38 fair Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -72,6 +72,7 @@ # kbd keyboard (provides events, for X11) # lkm loadable kernel modules interface # mouse mouse (provides events, for X11) +# random Random number generator # satlink* PlanetConnect satellite receiver driver # ss* SCSI scanner # tun* network tunnel driver @@ -90,7 +91,7 @@ all) sh $0 bpf0 bpf1 bpf2 bpf3 tun0 tun1 tun2 tun3 sh $0 ttyB0 ttyB1 ttyC0 ttyC1 ttyE0 ttyE1 lkm sh $0 kbd mouse lpa0 lpt0 audio ipl wd0 wd1 fd0 fd1 - sh $0 satlink0 local + sh $0 random satlink0 local ;; minimal) @@ -332,6 +333,15 @@ satlink*) chmod 444 satlink$unit ;; +random) + rm -f random urandom + mknod random c 39 0 + mknod urandom c 39 1 + chown root.wheel random urandom + chmod 444 random + chmod 644 urandom + ;; + local) umask 0 sh $0.local all diff --git a/etc/etc.amiga/MAKEDEV b/etc/etc.amiga/MAKEDEV index 49beff85edf8..2e6b08342cea 100644 --- a/etc/etc.amiga/MAKEDEV +++ b/etc/etc.amiga/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: MAKEDEV,v 1.39 1997/10/27 23:53:06 mhitch Exp $ +# $NetBSD: MAKEDEV,v 1.40 1997/11/20 05:57:40 fair Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -83,6 +83,7 @@ # aconf autoconfig information (not yet) # lkm loadable kernel modules interface. # ipl ip filter +# random Random number generator # bpf* Berkeley Packet Filter # tun* network tunnel driver # ss* SCSI scanner @@ -108,7 +109,7 @@ all) sh $0 sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9 cd0 st0 sh $0 ss0 ch0 uk0 uk1 ccd0 ccd1 ccd2 ccd3 sh $0 vnd0 vnd1 vnd2 vnd3 vnd4 vnd5 vnd6 - sh $0 bpf0 bpf1 bpf2 bpf3 tun0 tun1 lkm ipl local + sh $0 bpf0 bpf1 bpf2 bpf3 tun0 tun1 lkm ipl random local sh $0 audio0 audio1 audio2 audio3 ;; @@ -451,6 +452,16 @@ audio*) chmod 666 $audio $sound $mixer $audioctl ;; + +random) + rm -f random urandom + mknod random c 42 0 + mknod urandom c 42 1 + chown root.wheel random urandom + chmod 444 random + chmod 644 urandom + ;; + local) umask 0 sh $0.local all diff --git a/etc/etc.arm32/MAKEDEV b/etc/etc.arm32/MAKEDEV index 42b428ed8cc2..92ca1c80de56 100644 --- a/etc/etc.arm32/MAKEDEV +++ b/etc/etc.arm32/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: MAKEDEV,v 1.18 1997/10/18 03:59:27 mark Exp $ +# $NetBSD: MAKEDEV,v 1.19 1997/11/20 05:57:41 fair Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -73,6 +73,7 @@ # bpf* packet filter # beep riscpc speaker # ipl ip filter control +# random Random number generator # lkm loadable kernel modules interface # tun* network tunnel driver # ch* SCSI Auto changer @@ -95,7 +96,7 @@ all) sh $0 ttyv0 ttyv1 ttyv2 ttyv3 ttyv4 ttyv5 ttyv6 ttyv7 ttyv8 ttyv9 sh $0 lpa0 lpt0 bpf0 bpf1 bpf2 bpf3 tun0 tun1 tun2 ipl sh $0 beep lkm qms0 pms0 local cpu0 cpu1 - sh $0 mouse-qms0 + sh $0 mouse-qms0 random ;; ramdisk|floppy) @@ -369,6 +370,15 @@ audio*) chmod 666 $audio $sound $mixer $audioctl ;; +random) + rm -f random urandom + mknod random c 52 0 + mknod urandom c 52 1 + chown root.wheel random urandom + chmod 444 random + chmod 644 urandom + ;; + local) umask 0 sh $0.local all diff --git a/etc/etc.atari/MAKEDEV b/etc/etc.atari/MAKEDEV index be4b4b6b5cee..9886ac0f123a 100644 --- a/etc/etc.atari/MAKEDEV +++ b/etc/etc.atari/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: MAKEDEV,v 1.23 1997/09/02 19:56:56 leo Exp $ +# $NetBSD: MAKEDEV,v 1.24 1997/11/20 05:57:42 fair Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -87,6 +87,7 @@ # ch SCSI changer # rtc Atari RealTimeClock # ipl IP Filter devices +# random Random number generator PATH=/sbin:/bin:/usr/sbin:/usr/bin umask 77 @@ -95,7 +96,7 @@ do case $i in all) sh $0 std fd st0 ttye0 ttye1 ttye2 ttye3 ttye4 ttye5 grf0 grf1 - sh $0 grf2 grf3 grf4 grf5 mouse0 mouse1 rtc + sh $0 grf2 grf3 grf4 grf5 mouse0 mouse1 rtc random sh $0 kbd sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9 vnd0 vnd1 vnd2 sh $0 vnd3 vnd4 view00 view01 view02 view03 view04 view05 pty0 sh $0 vnd5 vnd6 cd0 fd0 fd1 fd2 fd3 bpf0 bpf1 bpf2 bpf3 ipl @@ -463,6 +464,15 @@ ipl) chmod 600 ipl ipnat ipstate ipauth ;; +random) + rm -f random urandom + mknod random c 38 0 + mknod urandom c 38 1 + chown root.wheel random urandom + chmod 444 random + chmod 644 urandom + ;; + local) umask 0 sh $0.local all diff --git a/etc/etc.hp300/MAKEDEV b/etc/etc.hp300/MAKEDEV index 64d5afc70e16..ee4b78f0d706 100644 --- a/etc/etc.hp300/MAKEDEV +++ b/etc/etc.hp300/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: MAKEDEV,v 1.22 1997/08/22 12:06:27 lukem Exp $ +# $NetBSD: MAKEDEV,v 1.23 1997/11/20 05:57:44 fair Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -64,6 +64,7 @@ # tun* network tunnel driver # lkm loadable kernel modules interface # ipl ip filter control +# random Random number generator # PATH=/sbin:/bin/:/usr/bin:/usr/sbin @@ -76,7 +77,7 @@ all) sh $0 std fd ct0 ct1 st0 st1 ccd0 ccd1 ccd2 rd0 rd1 rd2 sh $0 sd0 sd1 sd2 pty0 vnd0 vnd1 vnd2 vnd3 sh $0 hil grf0 ite0 dca0 dcm0 dcm1 dcm2 dcm3 apci0 - sh $0 bpf0 bpf1 bpf2 bpf3 tun0 tun1 tun2 tun3 lkm ipl + sh $0 bpf0 bpf1 bpf2 bpf3 tun0 tun1 tun2 tun3 lkm ipl random sh $0 local ;; @@ -369,6 +370,15 @@ pty*) chmod 666 tty$name? pty$name? ;; +random) + rm -f random urandom + mknod random c 33 0 + mknod urandom c 33 1 + chown root.wheel random urandom + chmod 444 random + chmod 644 urandom + ;; + local) umask 0 sh $0.local all diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index b8eb9be196fc..8ef2789d2b02 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: MAKEDEV,v 1.58 1997/08/22 11:19:43 lukem Exp $ +# $NetBSD: MAKEDEV,v 1.59 1997/11/20 05:57:45 fair Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -70,6 +70,7 @@ # fd file descriptors # bpf* packet filter # ipl ip filter +# random Random number generator # speaker pc speaker (XXX - installed) # lkm loadable kernel modules interface # audio audio device @@ -92,7 +93,7 @@ all) sh $0 std fd wt0 fd0 fd1 wd0 wd1 sd0 sd1 sd2 tty0 tty1 pty0 pty1 sh $0 st0 st1 ch0 cd0 cd1 mcd0 vnd0 vnd1 lpa0 lpa1 lpa2 sh $0 lpt0 lpt1 lpt2 ttyv0 bpf0 bpf1 bpf2 bpf3 tun0 tun1 ipl - sh $0 ccd0 ccd1 ccd2 ccd3 md0 ss0 ch0 uk0 uk1 + sh $0 ccd0 ccd1 ccd2 ccd3 md0 ss0 ch0 uk0 uk1 random sh $0 speaker lkm mms0 lms0 pms0 audio joy0 joy1 apm local satlink0 sh $0 ttyv0 ttyv1 ttyv2 ttyv3 ttyv4 ttyv5 ttyv6 ttyv7 ttyv8 ;; @@ -395,6 +396,15 @@ satlink*) chmod 444 satlink$unit ;; +random) + rm -f random urandom + mknod random c 46 0 + mknod urandom c 46 1 + chown root.wheel random urandom + chmod 444 random + chmod 644 urandom + ;; + local) umask 0 sh $0.local all diff --git a/etc/etc.mac68k/MAKEDEV b/etc/etc.mac68k/MAKEDEV index 9020a2659526..8cc5827488f0 100644 --- a/etc/etc.mac68k/MAKEDEV +++ b/etc/etc.mac68k/MAKEDEV @@ -20,7 +20,7 @@ # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. # # from: @(#)MAKEDEV 5.2 (Berkeley) 6/22/90 -# $NetBSD: MAKEDEV,v 1.30 1997/08/22 11:26:01 lukem Exp $ +# $NetBSD: MAKEDEV,v 1.31 1997/11/20 05:57:47 fair Exp $ # # Device "make" file. Valid arguments: # all a smattering--at least one of each except @@ -57,6 +57,7 @@ # bpf* packet filter # lkm loadable kernel modules interface # ipl ip filter +# random Random number generator # ss* SCSI scanner # uk* SCSI unknown # ch* SCSI changer @@ -76,7 +77,7 @@ all) sh $0 ccd0 ccd1 ccd2 ccd3 md0 ss0 uk0 uk1 sh $0 ttye0 adb grf0 grf1 grf2 grf3 sh $0 bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 - sh $0 bpf8 bpf9 bpf10 bpf11 + sh $0 bpf8 bpf9 bpf10 bpf11 random sh $0 tun0 tun1 tun2 tun3 asc0 lkm ipl local ;; @@ -318,6 +319,16 @@ asc*) chmod 666 asc$unit ;; +random) + rm -f random urandom + mknod random c 38 0 + mknod urandom c 38 1 + chown root.wheel random urandom + chmod 444 random + chmod 644 urandom + ;; + + local) umask 0 sh $0.local all diff --git a/etc/etc.mvme68k/MAKEDEV b/etc/etc.mvme68k/MAKEDEV index ad4cba9c5250..ca0066e1ebf2 100755 --- a/etc/etc.mvme68k/MAKEDEV +++ b/etc/etc.mvme68k/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: MAKEDEV,v 1.12 1997/11/07 21:29:21 scw Exp $ +# $NetBSD: MAKEDEV,v 1.13 1997/11/20 05:57:48 fair Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -62,6 +62,7 @@ # uk* SCSI unknown # ch* SCSI changer # ipl IP Filter device +# random Random number generator # PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/etc @@ -75,7 +76,7 @@ all) sh $0 st0 st1 ch0 cd0 cd1 lpa0 lpt0 vnd0 vnd1 sh $0 bpf0 bpf1 bpf2 bpf3 tun0 tun1 sh $0 ccd0 ccd1 ccd2 ccd3 md0 ss0 ch0 uk0 uk1 lkm - sh $0 ipl local + sh $0 ipl random local ;; std) @@ -286,6 +287,15 @@ ipl) chmod 600 ipl ipnat ipstate ipauth ;; +random) + rm -f random urandom + mknod random c 35 0 + mknod urandom c 35 1 + chown root.wheel random urandom + chmod 444 random + chmod 644 urandom + ;; + local) umask 0 sh $0.local all diff --git a/etc/etc.pc532/MAKEDEV b/etc/etc.pc532/MAKEDEV index f00fbdfa9ae1..b22bc0c7ab84 100644 --- a/etc/etc.pc532/MAKEDEV +++ b/etc/etc.pc532/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: MAKEDEV,v 1.18 1997/08/22 11:34:30 lukem Exp $ +# $NetBSD: MAKEDEV,v 1.19 1997/11/20 05:57:49 fair Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -55,6 +55,7 @@ # fd file descriptors # bpf* packet filter # ipl ip filter +# random Random number generator # lkm loadable kernel modules interface # tun* network tunnel driver # ss* SCSI scanner @@ -75,7 +76,8 @@ all) sh $0 pty0 pty1 vnd0 vnd1 bpf0 bpf1 bpf2 bpf3 sh $0 tun0 tun1 tun2 lkm ipl ccd0 ccd1 ccd2 sh $0 ccd3 md0 ss0 ch0 uk0 uk1 lpt0 lpt1 rtc - sh $0 se0 se1 se2 se3 + sh $0 se0 se1 se2 se3 random + sh $0 local ;; floppy) @@ -297,6 +299,16 @@ rtc) chmod 644 rtc ;; +random) + rm -f random urandom + mknod random c 29 0 + mknod urandom c 29 1 + chown root.wheel random urandom + chmod 444 random + chmod 644 urandom + ;; + + local) umask 0 sh $0.local all diff --git a/etc/etc.pmax/MAKEDEV b/etc/etc.pmax/MAKEDEV index fcfa4f5aba9d..af1332f5a31d 100644 --- a/etc/etc.pmax/MAKEDEV +++ b/etc/etc.pmax/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: MAKEDEV,v 1.14 1997/11/13 04:59:36 jonathan Exp $ +# $NetBSD: MAKEDEV,v 1.15 1997/11/20 05:57:50 fair Exp $ # # from: @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # @@ -25,6 +25,8 @@ # bpf* packet filter # lkm loadable kernel modules interface (unsupported in 1.3_ALPHA) # tun* network tunnel driver +# ipl IP packet filter +# random Random number generator # Platform-specific devices: # NOTE: /dev/mouse should be a link to one of these for X windows. # fb* generic framebuffer pseudo-device @@ -55,7 +57,7 @@ all) sh $0 bpf0 bpf1 bpf2 bpf3 sh $0 fb0 fb1 fb2 sh $0 mouse - sh $0 ipl + sh $0 ipl random # sh $0 lkm local # XXX no lkm driver in 1.3_ALPHA(?) # sh $0 audio pm0 cfb0 xcfb0 mfb0 sfb0 # sh $0 cd0 # no MI scsi yet @@ -293,6 +295,15 @@ ipl) chmod 600 ipl ipnat ipstate ipauth ;; +random) + rm -f random urandom + mknod random c 92 0 + mknod urandom c 92 1 + chown root.wheel random urandom + chmod 444 random + chmod 644 urandom + ;; + local) umask 0 sh $0.local all diff --git a/etc/etc.sparc/MAKEDEV b/etc/etc.sparc/MAKEDEV index bc4a6bc85f11..6d66507b2fc3 100644 --- a/etc/etc.sparc/MAKEDEV +++ b/etc/etc.sparc/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: MAKEDEV,v 1.31 1997/08/22 12:25:16 lukem Exp $ +# $NetBSD: MAKEDEV,v 1.32 1997/11/20 05:57:51 fair Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -68,6 +68,7 @@ # tun* network tunnel driver # md* memory pseudo-disk driver # ipl ip filter +# random Random number generator PATH=/sbin:/bin/:/usr/bin:/usr/sbin:/usr/etc umask 77 @@ -84,7 +85,7 @@ all) sh -$- $0 ccd0 ccd1 ccd2 ccd3 sh -$- $0 bpf0 bpf1 bpf2 bpf3 bwtwo0 cgtwo0 cgthree0 cgfour0 cgsix0 sh -$- $0 cgeight0 tcx0 - sh -$- $0 lkm local + sh -$- $0 lkm random local ;; std) rm -f console tty kmem mem null zero eeprom openprom drum klog \ @@ -352,6 +353,15 @@ pty*) chmod 666 tty$name? pty$name? ;; +random) + rm -f random urandom + mknod random c 119 0 + mknod urandom c 119 1 + chown root.wheel random urandom + chmod 444 random + chmod 644 urandom + ;; + local) umask 0 sh $0.local all diff --git a/etc/etc.sun3/MAKEDEV b/etc/etc.sun3/MAKEDEV index d8e7d3a0b609..3813d5a2a247 100644 --- a/etc/etc.sun3/MAKEDEV +++ b/etc/etc.sun3/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: MAKEDEV,v 1.18 1997/11/04 22:16:16 gwr Exp $ +# $NetBSD: MAKEDEV,v 1.19 1997/11/20 05:57:52 fair Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -57,6 +57,7 @@ # lkm loadable kernel modules interface # tun* network tunnel driver # md* memory pseudo-disk +# random Random number generator # XXX - Keep /usr/etc so SunOS can find chown PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/etc @@ -83,7 +84,7 @@ unit=`expr $arg : '[a-z][a-z]*\([0-9][0-9]*\)'` case $arg in all) - sh $0 std fd pty0 + sh $0 std fd pty0 random sh $0 bwtwo0 cgtwo0 cgfour0 sh $0 sd0 sd1 sd2 sd3 sd4 sd5 sd6 sh $0 cd0 cd1 st0 st1 st2 diff --git a/etc/etc.vax/MAKEDEV b/etc/etc.vax/MAKEDEV index ba0a414492d2..4a82ac1842f6 100644 --- a/etc/etc.vax/MAKEDEV +++ b/etc/etc.vax/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $NetBSD: MAKEDEV,v 1.12 1997/08/22 15:30:49 lukem Exp $ +# $NetBSD: MAKEDEV,v 1.13 1997/11/20 05:57:53 fair Exp $ # # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # @@ -58,6 +58,7 @@ # ss* SCSI scanner # uk* SCSI unknown # ch* SCSI changer +# random Random number generator # PATH=/sbin:/usr/sbin:/bin:/usr/bin umask 77 @@ -66,7 +67,7 @@ do case $i in all) - sh $0 std fd vnd0 ccd0 pty0 pty1 lkm + sh $0 std fd vnd0 ccd0 pty0 pty1 lkm random sh $0 mt0 mt1 ts0 ts1 st0 st1 uk0 ss0 cd0 sh $0 ra0 ra1 ra2 ra3 hp0 hp1 hp2 hp3 sd0 sd1 sd2 sd3 rd0 rd1 rd2 sh $0 dz0 dl0 dhu0 @@ -506,6 +507,15 @@ ttyv0) mv ptyqf ptyv0 ;; +random) + rm -f random urandom + mknod random c 67 0 + mknod urandom c 67 1 + chown root.wheel random urandom + chmod 444 random + chmod 644 urandom + ;; + local) umask 0 sh $0.local all diff --git a/etc/etc.x68k/MAKEDEV b/etc/etc.x68k/MAKEDEV index 27bdd45e74eb..b524b4712895 100755 --- a/etc/etc.x68k/MAKEDEV +++ b/etc/etc.x68k/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: MAKEDEV,v 1.14 1997/08/22 15:35:12 lukem Exp $ +# $NetBSD: MAKEDEV,v 1.15 1997/11/20 05:57:54 fair Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -77,6 +77,7 @@ # lkm loadable kernel modules interface. # bpf* Berkeley Packet Filter # ipl ip filter +# random Random number generator # audio audio device # sram battery backuped memory # tun* network tunnel driver @@ -99,7 +100,7 @@ all) sh $0 vnd0 vnd1 vnd2 vnd3 vnd4 vnd5 vnd6 pty0 sh $0 cd0 ss0 fd0 fd1 fd2 fd3 bpf0 bpf1 bpf2 bpf3 sh $0 ccd0 ccd1 ccd2 ccd3 tun0 tun1 par0 lkm ipl - sh $0 sram audio pow0 pow1 bell local + sh $0 sram audio pow0 pow1 bell random local sh $0 md0 md1 ch0 uk0 uk1 ss0 ;; @@ -474,6 +475,15 @@ bell*) chmod 666 bell ;; +random) + rm -f random urandom + mknod random c 39 0 + mknod urandom c 39 1 + chown root.wheel random urandom + chmod 444 random + chmod 644 urandom + ;; + local) umask 0 sh $0.local all