LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   UDEV Rules Location (https://www.linuxquestions.org/questions/slackware-14/udev-rules-location-439603/)

Toods 04-28-2006 02:14 AM

UDEV Rules Location
 
I want to add a few rules to udev, but have a question about where to put them. The only rule directory in my installation appears to be '/etc/udev/rules.d/udev.rules'. I have read elsewhere that this file should not be the place to put user rules, but that they should should go in something like '10-udev.rules'.

What should I be doing in Slackware?.

A second question I have: Many of the rule examples given start like 'BUS=="usb"'. the format in my 'udev.rules' is 'BUS="usb"'. Which format is correct for Slackware?.

Thank you.

drumz 04-28-2006 02:23 AM

Move udev.rules to 50-udev.rules.

Create your own 10-udev.rules. The rules files execute in order.

I also read somewhere that it was the double equals signs. All of my rules use the single equals sign, and it works for me. You could always just try it out.


All times are GMT -5. The time now is 01:16 AM.