LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-25-2004, 12:11 AM   #1
wnaLinux
Member
 
Registered: Oct 2004
Location: Salem, OR
Distribution: Ubuntu "Warty Warthog"
Posts: 95

Rep: Reputation: 15
Creating rules for udev


Hello again I hava a question for you guys I seem to missing the device to my second cdrom drive so I tryed creating a new rule for it but I couldnt quite figure it out. How would you guys go about makeing a rule for a drive that is using scsi emulation, by the way I recently recompiled my kernel to 2.6.9 and I am haveing no problems with burning cds via
scsi emulation, So how would I do this?
 
Old 12-25-2004, 04:18 AM   #2
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
http://www.reactivated.net/udevrules.php is an excellent site with information on how to write udev rules.

However, fiddling with udev is not the cure to your problem - it can't create links to devices that don't yet exist or are not being seen.

I would leave that until we can get your drive being seen in the original thread
 
Old 01-03-2008, 03:31 AM   #3
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
Originally Posted by wnaLinux View Post
Hello again I hava a question for you guys I seem to missing the device to my second cdrom drive so I tryed creating a new rule for it but I couldnt quite figure it out. How would you guys go about makeing a rule for a drive that is using scsi emulation, by the way I recently recompiled my kernel to 2.6.9 and I am haveing no problems with burning cds via
scsi emulation, So how would I do this?
add the
/dev/hdd /mnt/dvd auto noauto,user,rw 0 0
add that to your /etc/fstb file and now make the directory in your root tree /mnt/dvd
now creat a new link to a device on your desktop or type mount /dev/hdd
then go to the directory cd /mnt/dvd. if this is a scsi devise it would be sda or sdb sdc etc etc.
 
Old 01-03-2008, 03:32 AM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
Originally Posted by wnaLinux View Post
Hello again I hava a question for you guys I seem to missing the device to my second cdrom drive so I tryed creating a new rule for it but I couldnt quite figure it out. How would you guys go about makeing a rule for a drive that is using scsi emulation, by the way I recently recompiled my kernel to 2.6.9 and I am haveing no problems with burning cds via
scsi emulation, So how would I do this?
add the
/dev/hdd /mnt/dvd auto noauto,user,rw 0 0
add that to your /etc/fstab file and now make the directory in your root tree /mnt/dvd
now creat a new link to a device on your desktop or type mount /dev/hdd
then go to the directory cd /mnt/dvd. if this is a scsi devise it would be sda or sdb sdc etc etc.
 
Old 01-03-2008, 04:46 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Drakeo, firstly, why are you replying to threads that are so old? Secondly, your post appears to have nothing to do with the question.
 
Old 01-03-2008, 09:21 AM   #6
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Quote:
Originally Posted by Drakeo View Post
add the
/dev/hdd /mnt/dvd auto noauto,user,rw 0 0
add that to your /etc/fstab file and now make the directory in your root tree /mnt/dvd
now creat a new link to a device on your desktop or type mount /dev/hdd
then go to the directory cd /mnt/dvd. if this is a scsi devise it would be sda or sdb sdc etc etc.
And this is wrong, because device doesn't change name.
 
  


Reply



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
udev rules, finding the kernel name of a device? rignes Linux - Software 2 11-06-2005 11:42 PM
udev not creating nodes. for sound, etc. gooball Slackware 1 10-21-2005 01:30 AM
Networking rules (udev) cassi0peias Linux - Networking 1 10-18-2005 10:13 AM
udev ... I think element Debian 4 05-27-2004 03:32 PM
Viruses, ipchains, dynamic rules, rules with regular expressions marktaff Linux - Security 2 09-25-2001 04:01 AM

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

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

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