|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Changes to the filesystem while find is running - comments?
From: Dmitry V. Levin (ldv
altlinux.org)
Date: Mon Nov 22 2004 - 12:33:14 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
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.
--
ldv
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBojDp9viEa8HiNCkRApfjAJ9zq7T66c9RO0junZS5qIDMPhnFKQCePS3M
M2cSBe6L7/JPuq8PHaxD1kI=
=ypRQ
-----END PGP SIGNATURE-----
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]