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

Re: udev auto mount usb disk

On Fri, 8 Oct 2010, Camaleón <noelamac@gmail.com> writes:
> On Thu, 07 Oct 2010 23:06:12 +0300, Volkan YAZICI wrote:
>>   # 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? :-?

Trying to mount my USB disk to /media/tosun everytime it is plugged in,
and umount whenever it is unplugged.


Reply to: