[RFC] Union mount readdir support in glibc

Peter Staubach staubach@redhat.com
Fri Mar 14 17:55:00 GMT 2008


Miklos Szeredi wrote:
>>> 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.
>
>   

What makes you think that telldir/seekdir don't work for NFS?  The over the
wire protocols clearly take values which could be retrieved and stored via
those interfaces.

       ps

> The more new filesystems it doesn't work, the better, IMHO.
>
> Miklos
> --
> To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>   



More information about the Libc-alpha mailing list