chiark / gitweb /
rules: do not delete /lib/udev/devices/ nodes on "remove"
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 30 Aug 2007 12:14:54 +0000 (14:14 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 30 Aug 2007 12:14:54 +0000 (14:14 +0200)
etc/udev/rules.d/50-udev-default.rules

index f869f51550a89a0398a2c06a4e5743909ef529b9..76f0976c9512cc255f83c660b3db62feeece13c0 100644 (file)
@@ -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"
 
+# do not delete static device nodes
+ACTION=="remove", NAME=="?*", TEST=="/lib/udev/devices/$name", OPTIONS+="ignore_remove"
+