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)

>I can see that that would be useful but it would fail to comply with
>the POSIX standard, which specifies:
>
> The find utility shall be able to descend to arbitrary
> depths in a file hierarchy and shall not fail due to path
> length limitations (unless a path operand specified by the
> application exceeds {PATH_MAX} requirements)

But PATH_MAX is limited and the number of file descriptors is perhaps
not.

(On Solaris, PATH_MAX is 1024 so you require at most 512 file
descriptors to keep the stack of directories: 512 is less than the
default hard limit of 65536 file descriptors per process [S9, S8
and before used 1024, still >> 512)

Casper

[ reply ]
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)


 

Privacy Statement
Copyright 2010, SecurityFocus