LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Creating rules for udev (https://www.linuxquestions.org/questions/slackware-14/creating-rules-for-udev-270108/)

wnaLinux 12-25-2004 12:11 AM

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?

cathectic 12-25-2004 04:18 AM

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

Drakeo 01-03-2008 03:31 AM

Quote:

Originally Posted by wnaLinux (Post 1368955)
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.

Drakeo 01-03-2008 03:32 AM

Quote:

Originally Posted by wnaLinux (Post 1368955)
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.

Nylex 01-03-2008 04:46 AM

Drakeo, firstly, why are you replying to threads that are so old? Secondly, your post appears to have nothing to do with the question.

Alien_Hominid 01-03-2008 09:21 AM

Quote:

Originally Posted by Drakeo (Post 3009455)
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.


All times are GMT -5. The time now is 04:33 AM.