[lvm-devel] [PATCH] lvm2 support for detecting v1.x MD superblocks

Alasdair G Kergon agk at redhat.com
Wed Oct 24 00:44:35 UTC 2007


On Tue, Oct 23, 2007 at 11:32:56AM -0400, Mike Snitzer wrote:
> I've tested the attached patch to work on MDs with v0.90.0, v1.0,
> v1.1, and v1.2 superblocks.
 
I'll apply this, thanks, but need to add comments (or reference) to explain
what the hard-coded numbers are:

	sb_offset = (size - 8 * 2) & ~(4 * 2 - 1);
etc.

Alasdair
-- 
agk at redhat.com




More information about the lvm-devel mailing list