mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 21:17:38 +00:00
Adopt udev settings (permissions) for random, urandom, kmsg, and input devices (including psaux, which probably doesn't exist anymore anyway).
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8891 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
65fee993ab
commit
d98345702f
@ -2,12 +2,7 @@
|
||||
|
||||
# Core kernel devices
|
||||
|
||||
# override both of these
|
||||
KERNEL=="random", MODE="0444"
|
||||
KERNEL=="urandom", MODE="0444"
|
||||
|
||||
KERNEL=="aio", MODE="0444"
|
||||
KERNEL=="kmsg", MODE="0600"
|
||||
KERNEL=="rtc", MODE="0666"
|
||||
|
||||
# Comms devices
|
||||
@ -44,13 +39,7 @@ KERNEL=="sequencer*", GROUP="audio"
|
||||
|
||||
# Input devices
|
||||
|
||||
# override MODE on these four
|
||||
KERNEL=="mice", MODE="0644", SYMLINK+="mouse"
|
||||
KERNEL=="mouse*", MODE="0644"
|
||||
KERNEL=="event*", MODE="0644"
|
||||
KERNEL=="ts*", MODE="0644"
|
||||
|
||||
KERNEL=="psaux", MODE="0644"
|
||||
KERNEL=="mice", SYMLINK+="mouse"
|
||||
|
||||
# DRI devices are managed by the X server, so prevent udev from creating them
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2009-05-16 Bryan Kadzban <bryan@linuxfromscratch.org>
|
||||
* 55-lfs.rules: Adopt udev permissions for random, urandom, kmsg, and
|
||||
input devices (including psaux, which probably doesn't exist anymore
|
||||
anyway).
|
||||
|
||||
2009-05-16 Matt Burgess <matthew@linuxfromscratch.org>
|
||||
* 55-lfs.rules: Remove the block rule as it was only setting
|
||||
permissions that Udev will set by default
|
||||
|
Loading…
Reference in New Issue
Block a user