Re: [PATCH] 2.4.19 revert block_llseek behavior to standard

From: Helge Hafting (helgehaf@aitel.hist.no)
Date: Tue Aug 13 2002 - 03:13:14 EST


Christoph Hellwig wrote:
>
> On Mon, Aug 12, 2002 at 12:06:59PM -0400, Phil Auld wrote:
> > Hi Al,
> > I think this falls under the VFS umbrella, but I may be wrong.
> >
> > Below is a fix to make block_llseek behave as specified in the Single Unix Spec. v3.
> > (http://www.unix-systems.org/single_unix_specification/). It's extremely trivial but
> > may have political baggage.
>
> Have you tested when you actually seek over the size of a block device?
> Stupid standards aside: what is the purpose of this? blockdevices won't
> grow bigger if you seek beyond them..
>
True for a disk - but will all blockdevices be
like that forever?
Extending a ram disk might be useful. Or something
looped to a regular file.

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



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:31 EST