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

Re: udev and automounting

Try an entry in /etc/udev/10-local.rules; great howtos on the net.

On Thursday 27 September 2007 07:50, 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.
> Thanks
> --D.

Reply to: