Re: hard drive access every few seconds...

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

 



Eric Wood wrote:

How can you stat /proc/mount and test for a change since the times aren't maintained on a /proc fs?

However you can test for a filesize change if they preserved the last
file size - which they do the last mtime. So if that don't want to use
fam, they could poll /proc/mount with stat and test for a size change.

Nah... size doesn't change either. Don't know what I was thinking when I defended the idea of stat'ing that file. Sounds like the best thing is to push for fstat() on an fd to /etc/mtab. I'll just be quiet now.







[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