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@xxxxxxxx> Free Software: "You don't pay back, you pay forward." -- Robert A. Heinlein -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html