bug-gnulib
[Top][All Lists]
Advanced

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

Re: Fwd: [bug #17877] Invalid "No such file or directory" error on files


From: Jim Meyering
Subject: Re: Fwd: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers
Date: Fri, 06 Oct 2006 11:36:50 +0200

Miklos Szeredi <address@hidden> wrote:

>> That's close.
>> To clarify: with the current fts implementation, the interval between the
>> initial lstat and subsequent open of the same directory may be arbitrarily
>> long, but only for 2nd or subsequent command-line arguments -- which
>> usually translates to 2nd or subsequent members of the argv array that
>> is passed to fts_open.
>
> Here's a longer strace snippet for 'find /tmp/x' (find-4.3.1+patch).
> Note, that lstat("b") and open("b") could be arbitrarily far depending
> on the size of the tree under "a".
>
> open(".", O_RDONLY|O_LARGEFILE)         = 3

Thanks.
That demonstrates that we need further clarification :-)
The same thing happens also when reading all entries from a directory.




reply via email to

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