Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
Re: Changes to the filesystem while find is running - comments?
From: Dmitry V. Levin (ldvaltlinux.org)
Date: Mon Nov 22 2004 - 12:33:14 CST
On Mon, Nov 22, 2004 at 10:05:04AM -0800, Martin Buchholz wrote:
> If we have fchdir, I see find as maintaining a stack of
> file descriptors to directories that have been chdir'ed into.
> In general, use fchdir and fstat whenever possible.
find utility implementation should not base entirely on stack of file
descriptors, due to open file descriptors limits.
Same issues arise with fts(3)/ftw(3) implementations and its clones.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
-----END PGP SIGNATURE-----