Does the "find" command cache file system info?

John Hupp lubuntu at prpcompany.com
Sat Sep 15 23:35:54 UTC 2012


Josh Smith from the Ubuntu mail list responded: "Find doesn't cache per 
se but the file system does."

On 9/15/2012 6:27 PM, John Hupp wrote:
> I'm curious about this observation: If I do a find search on the root 
> directory, it ordinarily takes a minute or two -- as one would expect 
> if it were examining everything afresh.
>
> But if I follow that up with a different find search on the root, it 
> finishes in a few seconds.
>
> Does find cache file system information and reuse it under certain 
> conditions?  Or does Linux itself cache some sort of information from 
> an initial search that a subsequent search benefits from?
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20120915/edb4abcd/attachment.html>


More information about the Lubuntu-users mailing list