This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: BZ#6895: Describe DT_LNK


On Sun, Apr 08, 2012 at 06:49:12PM +0100, Nix wrote:
> On 8 Apr 2012, Andreas Jaeger uttered the following:
> > On 04/08/2012 06:33 PM, Paul Eggert wrote:
> >> On 04/08/2012 08:09 AM, Andreas Jaeger wrote:
> >>> DT_WHT is still not documented - and set by the coda FS only.
> >>> Google could not help me with an explanation what it is.
> >>
> >> Presumably that's for BSD-style whiteouts.
> >> For more, please see:
> >>
> >> Aurora V. Union file systems: implementations, part I.
> >> LWN.net 2009-03-25<http://lwn.net/Articles/325369/>.
> >
> > Thanks, Paul. Reading this, I think that DT_WHT should not be seen by
> > userland apps and filtered out by readdir. In that case, let's not
> > document it. What do you think of removing it from dirent.h?
> 
> Note that Coda is not a union filesystem in this sense: it has userspace
> helpers as well, and DT_WHT can be returned by the Coda library's
> userspace readdir function. I'm not certain that nothing relies on it.

As far as I know, Coda has never returned directory entries marked as
whiteout type. Except for the DT_WHT in the header there is no trace of
it in the code.

Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]