how to force system to mount USB device after it is inserted?
hong zhang
henryzhang62 at yahoo.com
Wed Aug 25 17:22:37 PDT 2010
Greg,
What is udev hooks?
--henry
--- On Wed, 8/25/10, Greg KH <greg at kroah.com> wrote:
> From: Greg KH <greg at kroah.com>
> Subject: Re: how to force system to mount USB device after it is inserted?
> To: "hong zhang" <henryzhang62 at yahoo.com>
> Cc: devel at linuxdriverproject.org
> Date: Wednesday, August 25, 2010, 5:42 PM
> On Wed, Aug 25, 2010 at 02:07:23PM
> -0700, 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?
>
> Look at the hooks that udev provides you to do this.
> If you have
> further questions, please ask them on the linux-hotplug at vger.kernel.org
> mailing list.
>
> thanks,
>
> greg k-h
>
More information about the devel
mailing list