Re: [Patch] Cleanup struct gendisk registration, 2.3.40-pre1

From: Keith Owens (kaos@ocs.com.au)
Date: Sun Jan 16 2000 - 22:55:11 EST


On Mon, 17 Jan 2000 00:37:16 +0100 (CET),
Andrea Arcangeli <andrea@suse.de> wrote:
>In our example the per-blockdevice callback should
>convert the dev from hda2 to hda and to add a 15000 wide offset to the
>blocknr.

That assumes a fixed offset and contiguous block mapping. Is there not
a similar problem with loopback files? That is, /dev/hda2 block 1000
is /mnt/loop1 block 17. No guarantee of contiguous mapping there. Or
has something else already fixed the loopback ambiguity?

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



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:14 EST