From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Karl O. Pinc" Date: Thu, 26 Aug 2010 01:52:55 +0000 Subject: Re: how to force system to mount USB device after it is inserted? Message-Id: <1282787575.15217.1@mofo> List-Id: References: <657896.51560.qm@web57907.mail.re3.yahoo.com> In-Reply-To: <657896.51560.qm@web57907.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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 Free Software: "You don't pay back, you pay forward." -- Robert A. Heinlein