Re: Being notified about CD/DVD media

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

HAL will tell you this; just try running 'lshal --monitor' or
hal-device-manager and look at the output. More info here
http://freedesktop.org/Software/hal

Good luck,
David



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux