diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-07 00:18:55 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-07 00:18:55 +0200 |
commit | 4df1d70329234fa10eceb02c8ecfff48e1ca9247 (patch) | |
tree | ff9a462ae48830f7b418d2f9463c14baa64b5e7e /rules | |
parent | 31441f6a4b3a776fe56e98ef939ff8825355c285 (diff) |
connect /sys and /dev with /sys/dev/{block,char}/<maj>:<min> and /dev/{block,char}/<maj>:<min>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/rules.d/50-udev-default.rules | 3 |
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" |