[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug#369822: ls -i stats unnecessarily
From: |
Eric Blake |
Subject: |
Re: Bug#369822: ls -i stats unnecessarily |
Date: |
Sat, 03 Jun 2006 22:52:12 +0000 |
>
> I can understand why readdir might have the behavior that you
> describe: it might be more efficient internally. But that doesn't
> make it correct, or even "expected". It's a bug in readdir.
I agree - readdir should ALWAYS match stat, even in the face of
mount points, if it is going to provide d_ino. Even cygwin developers
took great care in their upcoming 1.5.20 release to ensure that
mount points are handled correctly, such that readdir reports
the same value that stat will provide.
Is there an easy configure or runtime test we can do to detect
buggy readdir implementations, and always do stat on those
platforms?
--
Eric Blake
- Re: Bug#369822: ls -i stats unnecessarily, (continued)
- Re: Bug#369822: ls -i stats unnecessarily, James Youngman, 2006/06/01
- Re: Bug#369822: ls -i stats unnecessarily, Jim Meyering, 2006/06/02
- Re: Bug#369822: ls -i stats unnecessarily, Paul Eggert, 2006/06/02
- Re: Bug#369822: ls -i stats unnecessarily, Ian Jackson, 2006/06/03
- Re: Bug#369822: ls -i stats unnecessarily, James Youngman, 2006/06/03
- Re: Bug#369822: ls -i stats unnecessarily, Ian Jackson, 2006/06/03
- Re: Bug#369822: ls -i stats unnecessarily, Jim Meyering, 2006/06/02
- Re: Bug#369822: ls -i stats unnecessarily, Paul Eggert, 2006/06/03
- Re: Bug#369822: ls -i stats unnecessarily, Ian Jackson, 2006/06/05
- Re: Bug#369822: ls -i stats unnecessarily, Paul Eggert, 2006/06/05
Re: Bug#369822: ls -i stats unnecessarily,
Eric Blake <=