[opensuse] udev rules
I have some udev rule that I have been using for eons. I am now checking how they work on openSUSE 12.2, and I get an error: udevd[526]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it from /etc/udev/rules.d/99-rsoft.rules:4 The file is: # # IEEE1394 devices # KERNEL=="raw1394*", NAME="%k", GROUP="video", MODE="666", OPTIONS="last_rule" KERNEL=="dv1394*", NAME="%k", SYMLINK+="dv1394/%n", GROUP="video", MODE="666", OPTIONS="last_rule" KERNEL=="video1394*", NAME="%k", SYMLINK+="video1394/%n", GROUP="video", MODE="666", OPTIONS="last_rule" # # Serial devices # KERNEL=="ttyS1", SYMLINK="gps", MODE="666", OPTIONS="last_rule" KERNEL=="ttyS2", SYMLINK="vcr", MODE="666", OPTIONS="last_rule" # # End of file # I see in the man page for udev on the complaining system, the following: The NAME, SYMLINK, PROGRAM, OWNER, GROUP, MODE and RUN fields support simple string substitutions. The RUN substitutions are performed after all rules have been processed, right before the program is executed, allowing for the use of device properties set by earlier matching rules. For all other fields, substitutions are performed while the individual rule is being processed. The available substitutions are: $kernel, %k The kernel name for this device. So, I would expect it to work. Am I missing something? Yours sincerely, Roger Oberholtzer Ramböll RST / Systems Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (1)
-
Roger Oberholtzer