chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dd9b29
)
rules: virtio - fix is to check if the 'name' attribute is present
author
Amit Shah
<amit.shah@redhat.com>
Mon, 22 Mar 2010 09:59:46 +0000
(10:59 +0100)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Mon, 22 Mar 2010 09:59:46 +0000
(10:59 +0100)
Fix provided by Harald Hoyer.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
rules/rules.d/50-udev-default.rules
patch
|
blob
|
history
diff --git
a/rules/rules.d/50-udev-default.rules
b/rules/rules.d/50-udev-default.rules
index da1535f92beabbe7edead290fb95686c6d5750b4..e8116a372f79e0d08b74a508844fdb5405b230d2 100644
(file)
--- a/
rules/rules.d/50-udev-default.rules
+++ b/
rules/rules.d/50-udev-default.rules
@@
-18,7
+18,7
@@
KERNEL=="mwave", GROUP="dialout"
KERNEL=="hvc*|hvsi*", GROUP="dialout"
# virtio serial / console ports
-KERNEL=="vport*", SYMLINK+="virtio-ports/$attr{name}"
+KERNEL=="vport*",
ATTR{name}=="?*",
SYMLINK+="virtio-ports/$attr{name}"
# mem
KERNEL=="null|zero|full|random|urandom", MODE="0666"