Hi there, I just wanted to share what I hacked up through some frustration. It's a script that will automatically mount usb devices that are attached. It ties in to the hotplug architecture as closely as possible, without changing anything. So then I subscribed to this list to announce it. Of course, that's when I discovered http://users.actrix.co.nz/michael/usbmount.html by Michael Hamilton. So I'll first give a rundown of differences: My solution: - only mounts the device that was just inserted (with some luck) - is called automount_usb, so that, by changing the usb.usermap, it gets called every time a device is inserted and not just the first time - creates remover scripts that have /bin/sh as the only dependency - creates nicely readable names as mount points - supports devices with multiple partitions - is really small But Michael's solution: - makes KDE icons - is easier to read So, please have a look at the attached code, and tell me what you think about the device detection code. Michael, if you read this, we could perhaps merge the two efforts and get all the features. Also, let's start a thread on making a gui.agent script that gets called by the hotplug scripts. It would notify the user of hotplug events. I feel that it should be called with the same environment as the other agents, with an extra HOTPLUG_PATH variable indicating the path on which the device is available, if applicable. This could then be used by KDE, Gnome etc to notify the user. Cheers, Wout. PS: /Please/ change usb.agent so that it creates /var/run/usb/ before pointing remover scripts there...