This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC] Union mount readdir support in glibc
- From: Miklos Szeredi <miklos at szeredi dot hu>
- To: drepper at redhat dot com
- Cc: viro at ZenIV dot linux dot org dot uk, bharata at linux dot vnet dot ibm dot com, libc-alpha at sourceware dot org, jblunck at suse dot de, ezk at cs dot sunysb dot edu, linux-kernel at vger dot kernel dot org, linux-fsdevel at vger dot kernel dot org, hch at lst dot de, cmm at us dot ibm dot com, haveblue at us dot ibm dot com
- Date: Fri, 14 Mar 2008 09:41:23 +0100
- Subject: Re: [RFC] Union mount readdir support in glibc
- References: <20080311055527.GA7256@in.ibm.com> <47D9F6CC.6010009@redhat.com> <20080314053925.GA10722@ZenIV.linux.org.uk> <47DA257C.9060409@redhat.com>
> > Actually, do we really need it other than to 0 and to current position
> > (i.e. full rewind and a no-op)?
>
> Ever heard of the little function "telldir"?
Actually, telldir/seekdir is already broken for some filesystems (NFS
comes to mind). POSIX was really crazy to require a working seekdir
implementation, and userspace should quickly start _not_ using it.
The more new filesystems it doesn't work, the better, IMHO.
Miklos