slackware-current, udev 0.96, and custom udev rules not working
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
slackware-current, udev 0.96, and custom udev rules not working
I just updated to the most recent -current. I have everything working fine except for one thing, my custom udev rules don't seem to be working. I have a file called 10-local.rules in my /etc/udev/rules.d directory with the contents of:
Which has been working correctly. According to the udev man page all files in ruldes.d with the extention of .rules will be read in lexical order. My devices work fine, it's just that udev doesn't create the symlinks that I expect them to according to the above rules.
Have you tried dropping the KERNEL and NAME parameters (if all you want to do is symlink, you shouldn't override the NAME parameter, as I believe that can cause trouble with the native udev rules.
A good practice seems to be to only use the SYSFS{} variables and then symlink/alias only, as this doesn't interfere with the base udev settings.
So, I gave it a shot and I ultimately had to edit the rules file as crisostomo_enrico. But I also had to reduce each rule to include just SYSFS and SYMLINK directives before my rules finally took effect.
Thanks for all the input guys. I seem to be good for now. Until the next big udev update comes along.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.