Re: hard drive access every few seconds...

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

 



Once upon a time, Eric Wood <eric@xxxxxxxxxxxxx> said:
> magicdev is stat'ing /etc/mtab and open'ing /dev/cdrom every second.  The
> filesystem must flush the atime change every few seconds.  So, how about
> stat'ing /proc/mounts instead?

I've seen this suggested several times.  Have any of the people
suggesting it actually _tried_ it?  Hint: it doesn't do what you think.

However, actually reading /proc/mounts is probably low enough overhead
(since it will usually only be one block), and wouldn't touch the hard
disk.
-- 
Chris Adams <cmadams@xxxxxxxxxx>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux