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: Alasdair G Kergon
Date: Tue Sep 27 2005 - 13:35:10 EST


On Mon, Sep 26, 2005 at 05:03:01PM +0200, Blaisorblade wrote:
> You also "fixed" my assertion that snapshot-origin "base device" (parameter
> n.1) must be a DM device. Should I readd it too?

That parameter does not need to be a DM device if you are able to use
the start of an existing block device (so you don't require any mappings).

> IIRC I checked the code and it looks up the first param as a DM device,

It should only use the device number for reference, not any dm structure.

Try it.

Alasdair
--
agk@xxxxxxxxxx
-
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/