mdev.conf 496 B

123456789101112131415161718192021222324252627282930
  1. #
  2. # This is a sample mdev.conf
  3. #
  4. # Provide user, group, and mode information for devices. If a regex matches
  5. # the device name provided by sysfs, use the appropriate user:group and mode
  6. # instead of the default 0:0 660.
  7. #
  8. # Syntax:
  9. # %s %d:%d %s
  10. # devicename_regex user:group mode
  11. null 0:0 666
  12. zero 0:0 666
  13. urandom 0:0 444
  14. kmem 0:9 000
  15. mem 0:9 640
  16. port 0:9 640
  17. console 0:5 600
  18. ptmx 0:5 660
  19. tty[0-9]* 0:5 660
  20. ttyS[0-9]* 0:20 640
  21. fd[0-9]* 0:11 660
  22. sd[a-z]* 0:6 660
  23. hd[a-z]* 0:6 660