I am attempting to find how to get notified about CD/DVD media availability in non-desktop circumstances, e.g. an operator walks to a server and inserts a blank DVD which then becomes a candidate for backups.
My guess is that I should look at either HAL or D-BUS, but I would like to hear about the pros and cons of each solution: as far as I know, HAL feeds D-BUS but the latter is mainly intended for desktop applications, so in my use case might not even be there. I could poll the device once a minute, but I would hate to do so.
Thank your for your consideration, Davide Bolcioni -- There is no place like /home.