Welcome to the new Linux Foundation Forum!

Catching usb event.

Hello,

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 ?

Xavier.

Comments

  • JinuxJinux Posts: 20
    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.
  • XavierJXavierJ Posts: 7
    Thank you very much for the udev tuto Jinux.
  • mfillpotmfillpot Posts: 2,180
    Jinux,
    Thank you for posting a link to that informative guide.
Sign In or Register to comment.