[CentOS] How to disable hal's polling of CD-ROM drive in CentOS 5.1?

Wed Dec 12 04:03:11 UTC 2007
Ignacio Vazquez-Abrams <ivazqueznet at gmail.com>

On Tue, 2007-12-11 at 10:29 -0500, Steve Snyder wrote:
> Given that I hardly ever use the CD-ROM drive, it makes no sense to have 
> hal constantly polling it for new media.
> 
> How can I disable this polling in CentOS 5.1?

Run lshal and look for the block.device value that matches your drive.
Then find the value of the info.udi key in the same block and replace it
into the attached file. Then drop the file in /etc/hal/fdi/information
and restart haldaemon.

-- 
Ignacio Vazquez-Abrams <ivazqueznet at gmail.com>

PLEASE don't CC me; I'm already subscribed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: media-check-disable-cd.fdi
Type: application/xml
Size: 269 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20071211/de433fe5/attachment-0005.wsdl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20071211/de433fe5/attachment-0005.sig>