linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to force system to mount USB device after it is inserted?
@ 2010-08-26  0:12 hong zhang
  2010-08-26  1:52 ` Karl O. Pinc
  0 siblings, 1 reply; 2+ messages in thread
From: hong zhang @ 2010-08-26  0:12 UTC (permalink / raw)
  To: linux-hotplug

List,

I want my system to mount a usb device through my own script if my system does not mount it automatically after USB is inserted.

Where should I start to look (that means my script will be called to check if USB is mounted or not when USB device is attached? 

Any help will be appreciated!


---henry


      

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how to force system to mount USB device after it is inserted?
  2010-08-26  0:12 how to force system to mount USB device after it is inserted? hong zhang
@ 2010-08-26  1:52 ` Karl O. Pinc
  0 siblings, 0 replies; 2+ messages in thread
From: Karl O. Pinc @ 2010-08-26  1:52 UTC (permalink / raw)
  To: linux-hotplug

On 08/25/2010 07:12:05 PM, hong zhang wrote:
> List,
> 
> I want my system to mount a usb device through my own script if my
> system does not mount it automatically after USB is inserted.
> 
> Where should I start to look (that means my script will be called to
> check if USB is mounted or not when USB device is attached? 

You may find the latest version of the debian usbmount package
helpful.

http://packages.debian.org/sid/usbmount

Note that vfat filesystems will be corrupted unless
they are manually unmounted.


Karl <kop@meme.com>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-26  1:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-26  0:12 how to force system to mount USB device after it is inserted? hong zhang
2010-08-26  1:52 ` Karl O. Pinc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).