Re: How to extend struct stat?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 14 Oct 1999 18:06:20 +0100 (BST)


> Is there demand for this? I'm prepared to write a nice tidy
> new_getdents that returns d_type and structures in the format Glibc
> would like if there's the demand.
>
> It means extending the VFS layer to support the new readdir() semantics,
> but other than that, it shouldn't be that difficult. Ext2 has been
> storing this information since Linux 2.2, so most filesystems in the
> field have this information; it's just that I never found any time to
> add support into the VFS layer during the 2.3 development cycle. The
> main problem at this point is the 2.3 feature freeze.

If the LFS stuff goes in as planned before the freeze it does have to
change the stat structure for stat64 at least. Perhaps this is an
opportunity to do both in one ?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/