summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-07 00:18:55 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-10-07 00:18:55 +0200
commit4df1d70329234fa10eceb02c8ecfff48e1ca9247 (patch)
treeff9a462ae48830f7b418d2f9463c14baa64b5e7e
parent31441f6a4b3a776fe56e98ef939ff8825355c285 (diff)
connect /sys and /dev with /sys/dev/{block,char}/<maj>:<min> and /dev/{block,char}/<maj>:<min>
-rw-r--r--rules/rules.d/50-udev-default.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/rules.d/50-udev-default.rules b/rules/rules.d/50-udev-default.rules
index 6eeb541b4d..b41718c771 100644
--- a/rules/rules.d/50-udev-default.rules
+++ b/rules/rules.d/50-udev-default.rules
@@ -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"