Re: [uml-devel] Re: Writing on DM snapshots, and having no "mainstream" device (was: Re: Fw: [PATCH 1/7] Add dm-snapshot tutorial in Documentation)

From: Blaisorblade
Date: Tue Sep 27 2005 - 12:28:30 EST


On Friday 23 September 2005 23:19, Alasdair G Kergon wrote:
> On Fri, Sep 23, 2005 at 10:11:31PM +0200, Blaisorblade wrote:
> > you can create snapshots *WITHOUT* having a snapshot-origin device

> Checking the code, yes you're correct.
> When that LVM2 code was developed you'd get an oops but it's been fixed.
You also "fixed" my assertion that snapshot-origin "base device" (parameter
n.1) must be a DM device. Should I readd it too?

IIRC I checked the code and it looks up the first param as a DM device, even
because the list of snapshot is maintained for DM devices, not for general
block devices.

Right?
> Alasdair

--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade



___________________________________
Yahoo! Messenger: chiamate gratuite in tutto il mondo
http://it.messenger.yahoo.com
-
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/