summaryrefslogtreecommitdiff
path: root/sutils/MAKEDEV.sh
diff options
context:
space:
mode:
authorDavid Michael <fedora.dm0@gmail.com>2014-08-25 00:05:40 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-08-25 00:05:47 +0200
commit5a4ddc13246841da1350c8f6e783fd6a1d911aa4 (patch)
treeebfca4d1f7e054c0c9982b4743afcee362e10831 /sutils/MAKEDEV.sh
parent03ab85c02d9366e2ea7a4b7ecf25154f4cf1737f (diff)
sutils: add urandom device target to MAKEDEV
* sutils/MAKEDEV.sh (urandom): New target. (std): Add urandom to the standard devices list.
Diffstat (limited to 'sutils/MAKEDEV.sh')
-rw-r--r--sutils/MAKEDEV.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/sutils/MAKEDEV.sh b/sutils/MAKEDEV.sh
index 0a8f5144..1baec151 100644
--- a/sutils/MAKEDEV.sh
+++ b/sutils/MAKEDEV.sh
@@ -100,7 +100,7 @@ mkdev() {
;;
std)
- mkdev console tty null zero full fd time mem klog shm
+ mkdev console tty urandom null zero full fd time mem klog shm
;;
console|com[0-9])
st $I root 600 /hurd/term ${DEVDIR}/$I device $I;;
@@ -111,6 +111,8 @@ mkdev() {
${DEVDIR}/vcs/`echo $I | sed -e s/tty//`/console;;
lpr[0-9])
st $I root 660 /hurd/streamio "$I";;
+ urandom)
+ st $I root 644 /hurd/random --fast --seed-file /var/lib/random-seed;;
null)
st $I root 666 /hurd/null;;
full)