bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changes to the filesystem while find is running - comments?


From: Dmitry V. Levin
Subject: Re: Changes to the filesystem while find is running - comments?
Date: Mon, 22 Nov 2004 22:46:05 +0100

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

Attachment: pgpveTY4296Tw.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]