Currently hotplug uses hal to do its job.
A unix signal is sent to a particular application, so you can't simply "attach" to a signal.it should send a singal (SIGUSR1 or some other) which then i can intercept from within the application (and i can do a printf() or smth).
As an alternative you could try to monitor the file system (either /etc/fstab or /mnt/something) if you are sure that the device will be automounted in a particular location but this method might fail, so using HAL is a preffered solution.






Reply With Quote

Bookmarks