Re: [PATCH] 2.4.19 revert block_llseek behavior to standard

Helge Hafting (helgehaf@aitel.hist.no)
Tue, 13 Aug 2002 10:13:14 +0200


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/