commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 50/87: sutils: add urandom device target to MAKEDEV


From: Samuel Thibault
Subject: [hurd] 50/87: sutils: add urandom device target to MAKEDEV
Date: Sun, 09 Nov 2014 11:05:03 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 5a4ddc13246841da1350c8f6e783fd6a1d911aa4
Author: David Michael <address@hidden>
Date:   Mon Aug 25 00:05:40 2014 +0200

    sutils: add urandom device target to MAKEDEV
    
    * sutils/MAKEDEV.sh (urandom): New target.
    (std): Add urandom to the standard devices list.
---
 sutils/MAKEDEV.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sutils/MAKEDEV.sh b/sutils/MAKEDEV.sh
index 0a8f514..1baec15 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)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]