Udev and fstab - beginners question

Harald Hoyer harald at redhat.com
Mon Oct 4 12:07:32 UTC 2004


Matias Feliciano wrote:
> Le sam 02/10/2004 à 20:01, malcolm a écrit :
> 
>>Since this is my home PC I want anyone to be able to mount usb-mp3
>>players, DVDs, CDRW etc. I used to do this by just bunging 'users' in
>>the fstab options. Now something ( udev or whatever )  overwrites it on
>>every boot and then I get the message 'only root can mount etc etc' -
>>How do I make it so that everyone and their dog can mount anything. 
>>
> 
> 
> Seems hal have solved you problem.
> 
> Anyway, I found some problems with udev.
> 
> Example :
> my rules :
> BUS="ide", KERNEL="hd*", RESULT="CREATIVE DVD-ROM DVD1243E", NAME="%k", SYMLINK="dvdrom dvd cdrom%e"
> BUS="ide", KERNEL="hd*", RESULT="SAMSUNG CD-R/RW SW-240B", NAME="%k", SYMLINK="cdrw cdrom%e"
> 

BUS="ide", KERNEL="hd*", RESULT="CREATIVE DVD-ROM DVD1243E", SYMLINK="dvdrom"
BUS="ide", KERNEL="hd*", RESULT="CREATIVE DVD-ROM DVD1243E", SYMLINK="dvd"
BUS="ide", KERNEL="hd*", RESULT="CREATIVE DVD-ROM DVD1243E", SYMLINK="cdrom%e"
BUS="ide", KERNEL="hd*", RESULT="SAMSUNG CD-R/RW SW-240B", SYMLINK="cdrw"
BUS="ide", KERNEL="hd*", RESULT="SAMSUNG CD-R/RW SW-240B", SYMLINK="cdrom%e"

This should work, instead of your rules... only one SYMLINK per rule please!




More information about the fedora-test-list mailing list