LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-28-2006, 02:14 AM   #1
Toods
Member
 
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
drumz
Member
 
Registered: Apr 2005
Location: Scottsdale, AZ, USA
Distribution: Slackware
Posts: 188

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


Reply


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


All times are GMT -5. The time now is 09:17 AM.

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