View Single Post

   
  #7 (permalink)  
Old 02-21-2008, 10:27 AM
Raymond Baastad
 
Posts: n/a
Default Re: Automounting USB memory stick

Ben Measures wrote:
> Hekaton Keires wrote:
>
>>Just a supposition, wouldn't it be enough using just udev?
>>
>>[...]
>>
>>BUS="scsi", KERNEL="sda", ACTION="add", PROGRAM="/sbin/mount
>>/mnt/usbstick"

>
>
> Theoretically yes, though I suspect an immediate mount on plugin will
> fail because USB sticks usually need time to settle. That said, if you
> add a few seconds sleep I wouldn't expect any problems there.
>


And the syntax would be?

--
/ray

Thou shalt not meddle in the affairs of dragons
for thou art crunchy and go well with ketchup
Reply With Quote