[Centos] How to stop polling of CD-ROM drive?

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




Benjamin J. Weiss wrote:

> Steve Snyder wrote:
>
>> After a whole 3 days of using CentOS 4 I see that there is more 
>> activity on my unused CD-ROM drive than there is on my lightly used 
>> hard disk.  (As indicated by the number of interrupts on the ide0 and 
>> ide1 controllers.)
>>
>> It seems some process is polling the CD-ROM drive to determine if 
>> there is a disk in it.  My CD-ROM is hardly ever used after the 
>> initial OS installation, so it makes no sense for me to have the 
>> constant polling going on.
>>
>> What process is polling my CD-ROM drive and how can I stop it?
>>
>> Thanks.
>>
>>  
>>
> It's probably autofs.  A 'man autofs' shows that it's a filesystem 
> auto-mounter.  in CentOS 4, if you look in the /etc/auto.misc, you'll 
> see that the cd is set up to auto-detect and mount whenever you put a 
> CD into the drive.  You have two ways to disable this:
>
> 1) turn off the autofs:
> # chkconfig autofs off
> # service autofs stop
>
> 2) Stop autofs from seeing the CD:
> - Comment out the cd entry in /etc/auto.misc and then
> # service autofs reload
>

Personally I prefer  "rpm -e autofs", that fixes things right up too.



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux