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.
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 HTH, Ben
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.
I''m with you on that.... autofs normally disappears pretty quickly. :) On Tue, 08 Mar 2005 09:07:10 -0500, Sean McAdam <sean@fredcom.com> wrote:> > > 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. > > > _______________________________________________ > CentOS mailing list > CentOS@caosity.org > http://lists.caosity.org/mailman/listinfo/centos >