From 4df1d70329234fa10eceb02c8ecfff48e1ca9247 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 7 Oct 2008 00:18:55 +0200 Subject: [PATCH] connect /sys and /dev with /sys/dev/{block,char}/: and /dev/{block,char}/: --- rules/rules.d/50-udev-default.rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rules/rules.d/50-udev-default.rules b/rules/rules.d/50-udev-default.rules index 6eeb541b..b41718c7 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" -- 2.39.5