mdev.conf 947 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # null may already exist; therefore ownership has to be changed with command
  2. null root:root 666 @chmod 666 $MDEV
  3. zero root:root 666
  4. full root:root 666
  5. random root:root 444
  6. urandom root:root 444
  7. hwrandom root:root 444
  8. grsec root:root 660
  9. kmem root:root 640
  10. mem root:root 640
  11. port root:root 640
  12. # console may already exist; therefore ownership has to be changed with command
  13. console root:tty 600 @chmod 600 $MDEV
  14. ptmx root:tty 666
  15. pty.* root:tty 660
  16. # Typical devices
  17. tty root:tty 666
  18. tty[0-9]* root:tty 660
  19. vcsa*[0-9]* root:tty 660
  20. ttyS[0-9]* root:root 660
  21. ttyUSB[0-9]* root:root 660
  22. # alsa sound devices
  23. snd/pcm.* root:audio 660
  24. snd/control.* root:audio 660
  25. snd/midi.* root:audio 660
  26. snd/seq root:audio 660
  27. snd/timer root:audio 660
  28. # input stuff
  29. input/event[0-9]+ root:root 640
  30. input/mice root:root 640
  31. input/mouse[0-9] root:root 640
  32. input/ts[0-9] root:root 600
  33. # load modules
  34. $MODALIAS=.* root:root 660 @modprobe "$MODALIAS"