LKML Archive on
help / color / mirror / Atom feed
From: Bill Davidsen <>
To: Laurent Vivier <>
Subject: Re: [PATCH][RESEND][v3] Modify loop device to be able to manage  partitions of the disk image
Date: Sun, 23 Mar 2008 19:33:08 -0400	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <1205958752.4758.13.camel@frecb07144>

Laurent Vivier wrote:
> Le mercredi 19 mars 2008 à 16:24 -0400, Bill Davidsen a écrit :
>> Laurent Vivier wrote:
>>> v3 is an updated version of v2, replacing a "%d" by a "%lu".
>>> This patch allows to use loop device with partitionned disk image.
>> How does this compare in overhead to using nbd?
> What do you mean ?
> NBD doesn't manage partitions... but I also have a patch to do that.
> NBD implies an NBD server and an NBD client in userspace, so loop is
> better when disk image is in a raw format.
Actually the usual partitioning tools will create partitions on nbd 
volumes, but without inodes they are not useful. I thought we used to 
have that working, to work on virtual machine "disk" files which were 
partitioned, but that was several years ago and I could be 
misremembering. I did use fdisk on an nbd device before I asked about 
overhead, but I didn't try to use the partitions.

In any case, if you have code to make nbd partitions work in a currently 
useful way, that might be useful for keeping disk images handy for 
mount. The kvm copy on write might let the fresh install image be shared 
and VMs customize as needed.

Bill Davidsen <>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot

  reply	other threads:[~2008-03-23 23:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-18 12:19 Laurent Vivier
2008-03-18 20:54 ` Andrew Morton
2008-03-19 12:36 ` [PATCH][v4] " Laurent Vivier
2008-03-19 20:11   ` Randy Dunlap
2008-03-19 20:24     ` Laurent Vivier
2008-03-19 21:28       ` Andrew Morton
2008-03-19 21:39         ` Laurent Vivier
2008-03-19 21:43           ` Andrew Morton
2008-03-19 23:03         ` Randy Dunlap
2008-03-20 21:36         ` Bill Davidsen
2008-03-19 20:24 ` [PATCH][RESEND][v3] " Bill Davidsen
2008-03-19 20:32   ` Laurent Vivier
2008-03-23 23:33     ` Bill Davidsen [this message]
2008-03-25 10:34       ` [PATCH] Modify Network Block Device (nbd) to be able to manage partitions Laurent Vivier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \
    --subject='Re: [PATCH][RESEND][v3] Modify loop device to be able to manage  partitions of the disk image' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).