Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762206AbYCGMIb (ORCPT ); Fri, 7 Mar 2008 07:08:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754893AbYCGMIV (ORCPT ); Fri, 7 Mar 2008 07:08:21 -0500 Received: from wf-out-1314.google.com ([209.85.200.169]:15967 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752022AbYCGMIU convert rfc822-to-8bit (ORCPT ); Fri, 7 Mar 2008 07:08:20 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=C845TUWqvz32noIWXsIUJci76qqBZgeHsnjfoBC/DcikwQSa7mcP51mq+D0FKrODb127LyGhjgpwqjmLwkdUcG5Ss+e68aYPPf4Av/+RQgbiVqL8kZ4oT+owuIec7IxZ8zXK2BrRgTuSmEnwfHmfQuz3salGCvBImB7IZzX60OA= Message-ID: Date: Fri, 7 Mar 2008 13:08:20 +0100 From: "Bart Van Assche" To: 7eggert@gmx.de Subject: Re: [PATCH] Modify loop device to be able to manage partitions of the disk image Cc: "Nick Piggin" , "Laurent Vivier" , linux-kernel@vger.kernel.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Content-Disposition: inline References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1262 Lines: 29 On Fri, Mar 7, 2008 at 12:56 PM, Bodo Eggert <7eggert@gmx.de> wrote: > Nick Piggin 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/