Re: [SLUG] searching by atime

From: Dylan William Hardison (dylan@hardison.net)
Date: Tue Feb 24 2009 - 12:49:07 EST


Spake Eben King on Monday, February 23, 2009 at 05:05PM -0500:
> I have a problem with autofs constantly remounting three filesystems.
>
> Gory details:
> http://groups.google.com/group/comp.os.linux.misc/browse_thread/thread/ca066e4d01385503/a30e3a317d3b13b8?#a30e3a317d3b13b8
> = http://preview.tinyurl.com/aheuc9
> or <o06776-h8s.ln1@pc.home> and replies
>
> So my latest idea to track down the culprit is to find recently-accessed
> files/directories on the filesystems in question, in the hope that that'll
> give me some clue as to which program is responsible.
>
> Problem is, "find" lets you search on atime easily enough, but in doing
> it touches everything in its path, destroying their atimes for future
> searches. Is there a way to search that either doesn't change the atimes
> of examined files/directories, or puts them back the way they were
> afterward?

perhaps:

        mount /mountpoint -o remount,noatime

beforehand?

-- 
Our OS who art in CPU, UNIX be thy name. Thy programs run, thy syscalls
done, In kernel as it is in user!
-
GPG Fingerprint: 1AD8 69DD F56A E7AB 421C  7D8A C66D 87D9 82CD 4AE4.
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:59:16 EDT