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:
a506e62
)
rules: do not delete /lib/udev/devices/ nodes on "remove"
author
Kay Sievers
<kay.sievers@vrfy.org>
Thu, 30 Aug 2007 12:14:54 +0000
(14:14 +0200)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Thu, 30 Aug 2007 12:14:54 +0000
(14:14 +0200)
etc/udev/rules.d/50-udev-default.rules
patch
|
blob
|
history
diff --git
a/etc/udev/rules.d/50-udev-default.rules
b/etc/udev/rules.d/50-udev-default.rules
index f869f51550a89a0398a2c06a4e5743909ef529b9..76f0976c9512cc255f83c660b3db62feeece13c0 100644
(file)
--- a/
etc/udev/rules.d/50-udev-default.rules
+++ b/
etc/udev/rules.d/50-udev-default.rules
@@
-101,3
+101,6
@@
KERNEL=="sxctl", NAME="specialix_sxctl", SYMLINK+="%k"
KERNEL=="rioctl", NAME="specialix_rioctl", SYMLINK+="%k"
KERNEL=="iowarrior[0-9]*", NAME="usb/%k"
KERNEL=="rioctl", NAME="specialix_rioctl", SYMLINK+="%k"
KERNEL=="iowarrior[0-9]*", NAME="usb/%k"
+# do not delete static device nodes
+ACTION=="remove", NAME=="?*", TEST=="/lib/udev/devices/$name", OPTIONS+="ignore_remove"
+