Re: [PATCH] Modify loop device to be able to manage partitions of the disk image

From: Bodo Eggert
Date: Fri Mar 07 2008 - 06:56:57 EST


Nick Piggin <nickpiggin@xxxxxxxxxxxx> wrote:
> On Thursday 06 March 2008 21:16, Laurent Vivier wrote:
>> Le jeudi 06 mars 2008 à 20:57 +1100, Nick Piggin a écrit :

>> > Do you think we do something similar for drivers/block/brd.c too? I'd
>> > like to try to maintain parity between them where possible...
>>
>> I think it is possible (I've the same patch for NBD too), but I think
>> it is completely useless.
>
> It's useful for testing, and for minimising the divergence in the
> code.

Maybe there should be a common mechanism to use partitions on any block
device. Maybe there is - I have dark memories about the device mapper
being able to parse partition tables, and plans on moving partition
support to userspace.

--
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/