Re: [PATCH] ramfs: pretend dirent sizes

From: Jörn Engel
Date: Thu Jul 21 2005 - 02:31:12 EST


On Thu, 21 July 2005 00:25:17 -0700, Chris Wedgwood wrote:
> On Thu, Jul 21, 2005 at 09:20:03AM +0200, J?rn Engel wrote:
>
> > In both cases, what used to be a proper offset in one fd can be
> > complete bogus for another one.
>
> Exactly.
>
> Knowing the position within a directory is of questionable value and
> trying to implement any reliable semantics for lseek is futile.

We surely agree on that one. But I guess Jan has something else in
mind with this patch. See my other reply.

Jörn

--
Simplicity is prerequisite for reliability.
-- Edsger W. Dijkstra
-
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/