All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH][v2] Modify loop device to be able to manage partitions
@ 2008-03-07 20:34 devzero
  0 siblings, 0 replies; only message in thread
From: devzero @ 2008-03-07 20:34 UTC (permalink / raw)
  To: Laurent.Vivier; +Cc: breeves, linux-kernel

>Of course, the same behavior can be done using kpartx on a loop device,
>but modifying loop avoids to stack several layers of block device (loop +
>device mapper), this is a very light modification (40% of modifications
>are to manage the new parameter).

iirc, patches like this have been submitted more than once.
i remember i have seen one floating around years ago.

aside from the fact that using partitions on loop devices is useful - if 
we had dm-loop (http://sources.redhat.com/lvm2/wiki/DMLoop) in mainline - 
would using kpartx with that also mean stacking 2 layers of block device ?

personally, i like the kpartx approach. afaik, it`s working good.

i also like dm-loop, because i think that mapping of files to blockdevices 
belongs into an appropriate subsystem like device-mapper.

maybe some of the dm folks know better or have some real arguments - so i`m 
adding bryn reeves here. (just noticed that dm-loop disappeared from -mm due 
to removal of some api change - so it`s a good chance to bring it back into 
discussion) ;)

regards
roland


_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-07 20:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-07 20:34 [PATCH][v2] Modify loop device to be able to manage partitions devzero

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.