[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

kde, udev, hal and friends...



Hallo list,

I have installed debian/sid on my machine. I own two usb-storrage-devices. On 
one of them I have stored all my music. This music is known by amarok. But 
the path under which this disc is available depend on the order of plugging 
in the two storrage devices. One time it is /dev/sda1 an the other it is 
under /dev/sdb1.

Now there is a way udev provides under /dev/disk/by-id/ to mount one device 
allways at one mountpoint. But for this I have to make ernties to /etc/fstab. 
Is this the right way to solve the problem, or is there a way to tell udev 
not to create /media/sdxy but something like /media/devicename-partitionname?

The next problem is that I have no permissions as user if I mount  a device 
after hal has noticed it. root is the owner. So I am not able to add files to 
the disc. To solve this I did an 

chown myaccount:myaccount .

for the . - file on the disc. So I have the neede permisson, but I do not know 
it there is a better way to solve this?

Hope you have understood what I want to know...

Thank you in advance - W. Mader

Attachment: pgpIYo38uPR7c.pgp
Description: PGP signature


Reply to: