]> err.no Git - systemd/commitdiff
connect /sys and /dev with /sys/dev/{block,char}/<maj>:<min> and /dev/{block,char...
authorKay Sievers <kay.sievers@vrfy.org>
Mon, 6 Oct 2008 22:18:55 +0000 (00:18 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Mon, 6 Oct 2008 22:18:55 +0000 (00:18 +0200)
rules/rules.d/50-udev-default.rules

index 6eeb541b4d6f899ce2de6ab3fec44602f4abec46..b41718c771e54ec68b930fe1165ede043c2c9c02 100644 (file)
@@ -1,5 +1,8 @@
 # do not edit this file, it will be overwritten on update
 
+SUBSYSTEM=="block", SYMLINK+="block/%M:%m"
+SUBSYSTEM!="block", SYMLINK+="char/%M:%m"
+
 KERNEL=="pty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="0660", OPTIONS+="last_rule"
 KERNEL=="tty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="0660", OPTIONS+="last_rule"
 KERNEL=="ptmx",                        GROUP="tty", MODE="0666", OPTIONS+="last_rule"