[Ubuntu] Does the "find" command cache file system info?
ubuntu at prpcompany.com
Sat Sep 15 23:33:41 UTC 2012
That's good to know. Thanks!
On 9/15/2012 7:22 PM, Joshua Smith wrote:
> Find doesn't cache per se but the file system does.
> Josh Smith
> Email/jabber: juicewvu at gmail.com <mailto:juicewvu at gmail.com>
> Phone: 304.237.9369(c)
> Sent from my iPhone
> On Sep 15, 2012, at 7:16 PM, John Hupp <ubuntu at prpcompany.com
> <mailto:ubuntu at prpcompany.com>> 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?
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com <mailto:ubuntu-users at lists.ubuntu.com>
>> Modify settings or unsubscribe at:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ubuntu-users