Um. You're right. # stat /mnt/mtab doesn't change the atimes. But # stat /proc/mounts *do* change to times to the current time. I though stat woudn't supposed to change access/modifiy/change times. Must be a /proc limitation - lovely . I'm just trying to get the nautilus guys to quit polling /mnt/mtab and switch to fam. -eric wood Chris Adams wrote: > 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.