Being notified about CD/DVD media

John (J5) Palmieri johnp at redhat.com
Thu Apr 7 16:48:10 UTC 2005


On Thu, 2005-04-07 at 18:42 +0200, Davide Bolcioni wrote:
> Greetings,
> 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

D-BUS is for use from (right above) the kernel up to the Desktop.  You
can use it for system services also.  It is why we have a system bus in
the first place.

-- 
John (J5) Palmieri
Associate Software Engineer
Desktop Group
Red Hat, Inc.
Blog: http://martianrock.com




More information about the fedora-devel-list mailing list