1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 08:26:52 +03:00
systemd/rules/gentoo/40-gentoo.rules

26 lines
651 B
Plaintext
Raw Normal View History

2007-11-10 18:17:47 +03:00
# do not edit this file, it will be overwritten on update
# old devfs path, removing this could break systems
# Bug 195839
KERNEL=="md[0-9]*", SYMLINK+="md/%n"
KERNEL=="loop[0-9]*", SYMLINK+="loop/%n"
KERNEL=="ram[0-9]*", SYMLINK+="rd/%n"
2009-01-27 13:56:45 +03:00
# keep devices after driver unload
KERNEL=="ppp", OPTIONS+="ignore_remove"
KERNEL=="tun", OPTIONS+="ignore_remove"
# setting permissions
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usb"
# dialout devices
KERNEL=="ippp*|isdn*|dcbri*|rfcomm*|ttyACM[0-9]*|pilot", GROUP="dialout"
# sound devices (oss)
SUBSYSTEM=="snd", GROUP="audio"
# Sony Vaio Jogdial sonypi device
KERNEL=="sonypi", MODE="0666"