diff --git a/rules/rules.d/50-udev-default.rules b/rules/rules.d/50-udev-default.rules index 6eeb541b4d6..b41718c771e 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"