Re: [RFC] Union mount readdir support in glibc

From: Peter Staubach
Date: Fri Mar 14 2008 - 13:57:26 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html

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