I wrote an application for the linux embedded project, and I want my application to display a specific menu when a user inserts a USB drive. I am programming a C ++ application with Qt.
There is no d-bus on my system, but it uses udev. It seems to me that udev is the βrightβ way to make this detection, but it seems complicated.
Can someone point me in the right direction to start with this? Is there a way to do this without udev, and if not, is there a good udev starter guide that I could use? I really don't need much functionality, just a way to notify my application when a disk is inserted (and enough information for my application to mount the disk).
thanks
Marlon
user672033
source share