Greg, What is udev hooks? --henry --- On Wed, 8/25/10, Greg KH <greg@xxxxxxxxx> wrote: > From: Greg KH <greg@xxxxxxxxx> > Subject: Re: how to force system to mount USB device after it is inserted? > To: "hong zhang" <henryzhang62@xxxxxxxxx> > Cc: devel@xxxxxxxxxxxxxxxxxxxxxx > 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@xxxxxxxxxxxxxxx > mailing list. > > thanks, > > greg k-h > _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel