X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=mod-udev.sh;h=e370d625003281310d6b8aa797c4edb4837337f0;hb=31bfdce0fe743536574636dc848c24cff1059fe7;hp=09bcc7de9283f7dbc43b51b2cc64da79b0e2b7e9;hpb=6b45dd6c4bb63e42f1c587790e0e5823b3883535;p=projects%2Fgeninitrd.git diff --git a/mod-udev.sh b/mod-udev.sh index 09bcc7d..e370d62 100644 --- a/mod-udev.sh +++ b/mod-udev.sh @@ -121,19 +121,23 @@ initrd_gen_mdev() { null 0:0 666 zero 0:0 666 -urandom 0:0 444 +random 0:0 666 +urandom 0:0 666 +kmsg 0:0 644 kmem 0:9 000 mem 0:9 640 port 0:9 640 +snapshot 0:0 600 + console 0:5 600 -ptmx 0:5 660 -tty[0-9]* 0:5 660 +ptmx 0:5 666 +tty[0-9]* 0:5 600 -ttyS[0-9]* 0:20 640 +ttyS[0-9]* 0:16 660 -fd[0-9]* 0:11 660 +fd[0-9]* 0:19 660 sd[a-z]* 0:6 660 hd[a-z]* 0:6 660