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

Re: udev auto mount usb disk



On Thu, 07 Oct 2010 23:06:12 +0300, Volkan YAZICI wrote:

> Below are the configurations related with my USB disk.
> 
>   # grep tosun /etc/fstab   UUID=0C98AFAF98AF95AC /media/tosun ntfs-3g noauto,fmask=133,dmask=022   0 0

That line should be enough to get the disk mounted.

>   # cat /etc/udev/rules.d/89-tosun.rules 
>   ACTION=="add", ENV{ID_FS_UUID}=="0C98AFAF98AF95AC", RUN+="mount /media/tosun" 
>   ACTION=="remove", ENV{ID_FS_UUID}=="0C98AFAF98AF95AC", RUN+="umount -l /media/tosun"

(...)

I see no point for that rule. What are you trying to achieve? :-?

Greetings,

-- 
Camaleón


Reply to: