LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 03: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, 03:23 AM   #2
drumz
Member
 
Registered: Apr 2005
Location: Oklahoma, USA
Distribution: Slackware
Posts: 927

Rep: Reputation: 716Reputation: 716Reputation: 716Reputation: 716Reputation: 716Reputation: 716Reputation: 716
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 10:21 AM
Udev rules working but... cferron Linux - Hardware 5 03-24-2006 03:46 AM
need help fixing my udev rules or ivman rules hedpe Linux - Hardware 2 03-18-2006 11:07 AM
udev rules, finding the kernel name of a device? rignes Linux - Software 2 11-07-2005 12:42 AM
Networking rules (udev) cassi0peias Linux - Networking 1 10-18-2005 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:04 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration