[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e2e108260803070408l4600ae4cx1ecd261318cb63c6@mail.gmail.com>
Date: Fri, 7 Mar 2008 13:08:20 +0100
From: "Bart Van Assche" <bart.vanassche@...il.com>
To: 7eggert@....de
Cc: "Nick Piggin" <nickpiggin@...oo.com.au>,
"Laurent Vivier" <Laurent.Vivier@...l.net>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Modify loop device to be able to manage partitions of the disk image
On Fri, Mar 7, 2008 at 12:56 PM, Bodo Eggert <7eggert@....de> wrote:
> Nick Piggin <nickpiggin@...oo.com.au> 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.
It's easy to add partition support to the loopback device. A patch
that realizes this was already published in 2004. See also
http://lwn.net/Articles/110426/.
Bart Van Assche.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists