BugTraq
Changes to the filesystem while find is running - comments? Nov 22 2004 10:27AM
James Youngman (bugtraq excession spiral-arm org) (1 replies)
Re: Changes to the filesystem while find is running - comments? Nov 22 2004 06:05PM
Martin Buchholz (Martin Buchholz Sun COM) (2 replies)
Re: Changes to the filesystem while find is running - comments? Nov 22 2004 11:51PM
James Youngman (bugtraq excession spiral-arm org) (3 replies)
Re: Changes to the filesystem while find is running - comments? Nov 24 2004 07:51AM
Casper Dik Sun COM (2 replies)
Re: Changes to the filesystem while find is running - comments? Nov 24 2004 05:25PM
Martin Buchholz (Martin Buchholz Sun COM) (1 replies)
Re: Changes to the filesystem while find is running - comments? Nov 24 2004 12:15PM
James Youngman (bugtraq excession spiral-arm org)
Re: Changes to the filesystem while find is running - comments? Nov 24 2004 05:24AM
devnull Rodents Montreal QC CA
Re: Changes to the filesystem while find is running - comments? Nov 23 2004 02:05AM
Martin Buchholz (Martin Buchholz Sun COM) (1 replies)
Re: Changes to the filesystem while find is running - comments? Nov 23 2004 09:17AM
James Youngman (bugtraq excession spiral-arm org) (1 replies)
Re: Changes to the filesystem while find is running - comments? Nov 23 2004 05:59PM
Martin Buchholz (Martin Buchholz Sun COM)
Re: Changes to the filesystem while find is running - comments? Nov 22 2004 06:33PM
Dmitry V. Levin (ldv altlinux org)
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

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus