[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] sutils: add random device targets to MAKEDEV
From: |
David Michael |
Subject: |
[PATCH] sutils: add random device targets to MAKEDEV |
Date: |
Mon, 16 Jun 2014 15:08:19 -0400 |
* sutils/MAKEDEV.sh (random,urandom): New targets.
(std): Add random and urandom to the standard devices list.
---
Hi,
With the random merge, can /dev/(u)random devices now be added to
MAKEDEV? (I'm not married to the seed file argument, in case there
is a better default location for it.)
Thanks.
David
sutils/MAKEDEV.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/sutils/MAKEDEV.sh b/sutils/MAKEDEV.sh
index 0a8f514..db98353 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 null zero random urandom full fd time mem klog shm
;;
console|com[0-9])
st $I root 600 /hurd/term ${DEVDIR}/$I device $I;;
@@ -117,6 +117,10 @@ mkdev() {
st $I root 666 /hurd/null --full;;
zero)
st $I root 666 /bin/nullauth -- /hurd/storeio -Tzero;;
+ random)
+ st $I root 644 /hurd/random --secure --seed-file /var/lib/random-seed;;
+ urandom)
+ st $I root 644 /hurd/random --fast --seed-file /var/lib/random-seed;;
tty)
st $I root 666 /hurd/magic tty;;
fd)
--
1.9.3
- [PATCH] sutils: add random device targets to MAKEDEV,
David Michael <=