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

Re: udev and automounting



On Thu, Sep 27, 2007 at 01:50:11PM +0200, Dan H wrote:
> Hello,
> 
> I'm really having trouble getting my head around udev and udev rules for removeable USB devices. When I plug in my USB stick, it automounts under /media/sda1. What I don't like is that I have to "su" to write to the stick and to unmount it again, so this automounting is pretty useless. I've tried to decipher the files under /etc/udev to find the rule that actually mounts stuff, but grepping for "mount" just shows me some unmounting detail in a file called "hal.rules".
> 
> What I'd like is:
> 
> 1. Automounting USB mass storage devices under some unique name determined
>    by the label of the partition
> 
> 2. Write access and unmounting by normal user.
> 
> I've seen this work transparently under Gnome and KDE, but I use fvwm or no X at all so that's no option for me.
 
The package usbmount might be what you need.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature


Reply to: