chiark / gitweb /
rules: put bsd nodes in /dev/bsd/ directory
[elogind.git] / etc / udev / rules.d / 50-udev-default.rules
index 76f0976..bdce004 100644 (file)
@@ -20,7 +20,6 @@ KERNEL=="lirc0",              SYMLINK+="lirc"
 KERNEL=="null|zero|full|random|urandom", MODE="0666"
 KERNEL=="null",                        SYMLINK+="XOR"
 KERNEL=="mem|kmem|port",       GROUP="kmem", MODE="0640"
-KERNEL=="nvram",               GROUP="kmem", MODE="0600"
 KERNEL=="ram0",                        SYMLINK+="ramdisk"
 KERNEL=="ram1",                        SYMLINK+="ram"
 
@@ -78,6 +77,7 @@ SUBSYSTEM=="raw", KERNEL=="raw[0-9]*", NAME="raw/%k", GROUP="disk"
 KERNEL=="pktcdvd[0-9]*",       NAME="pktcdvd/%k"
 KERNEL=="pktcdvd",             NAME="pktcdvd/control"
 KERNEL=="qft0",                        SYMLINK+="ftape"
+SUBSYSTEM=="bsg"               NAME="bsg/%k"
 
 # network
 KERNEL=="tun",                 NAME="net/%k", MODE="0666", OPTIONS+="ignore_remove"
@@ -89,7 +89,8 @@ KERNEL=="microcode",          NAME="cpu/microcode", MODE="0600"
 
 # miscellaneous
 KERNEL=="fuse",                        MODE="0666"
-KERNEL=="rtc",                 MODE="0644"
+KERNEL=="rtc|rtc0",            MODE="0644"
+KERNEL=="rtc0",                        SYMLINK+="rtc"
 KERNEL=="auer[0-9]*"           NAME="usb/%k"
 KERNEL=="hw_random",           NAME="hwrng", SYMLINK+="%k"
 KERNEL=="mmtimer",             MODE="0644"