Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 04-28-2006, 02:14 AM   #1
Registered: Dec 2005
Location: UK
Distribution: Slackware 12.1
Posts: 249

Rep: Reputation: 32
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.
Old 04-28-2006, 02:23 AM   #2
Registered: Apr 2005
Location: Scottsdale, AZ, USA
Distribution: Slackware
Posts: 212

Rep: Reputation: 60
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating rules for udev wnaLinux Slackware 5 01-03-2008 09:21 AM
Udev rules working but... cferron Linux - Hardware 5 03-24-2006 02:46 AM
need help fixing my udev rules or ivman rules hedpe Linux - Hardware 2 03-18-2006 10:07 AM
udev rules, finding the kernel name of a device? rignes Linux - Software 2 11-06-2005 11:42 PM
Networking rules (udev) cassi0peias Linux - Networking 1 10-18-2005 10:13 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration