Catching usb event.

Link to this post 16 Aug 10


What I want to do is waiting for a usb plug and mount the new device in a shell script.

Is there a easy mean to do that ?


Link to this post 16 Aug 10

It's possible with Udev and there's a brilliant guide Here detailing how to set it up. This shows you how to run external scripts/programs upon the event as opposed to simply giving the device a custom node.

Link to this post 16 Aug 10

Thank you very much for the udev tuto Jinux.

Link to this post 18 Aug 10

Thank you for posting a link to that informative guide.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board