[Ubuntu] Does the "find" command cache file system info?

Joshua Smith juicewvu at gmail.com
Sat Sep 15 23:22:54 UTC 2012


Find doesn't cache per se but the file system does. 

--
Josh Smith
KD8HRX

Email/jabber: 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> 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
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20120915/0b8ced48/attachment.html>


More information about the ubuntu-users mailing list