How to detect programatically if a USB device is is plugged-in / plugged out?
Hi all,
How can I programatically detect if any USB drive (say thump drive) is plugged-in or plugged out at any time?
Also get details on the device plugged-in?
Can I use udev rules to achieve this?
The goal is to get access to the contents within the program.
Thanks for your help.
Franc
|