]> git.ipfire.org Git - thirdparty/mdadm.git/commit
--examine-bitmap: give useful message if no bitmap found on md array.
authorNeilBrown <neilb@suse.de>
Thu, 22 May 2014 05:22:39 +0000 (15:22 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 22 May 2014 05:22:39 +0000 (15:22 +1000)
commit1e781e07ab565993f36292e7ec0dc3f574556759
tree40e8afbdc4effd295f24e7736da1c80c23025705
parent04f903b21ad4d68aa8630433dc2b07edfbc0ad0f
--examine-bitmap: give useful message if no bitmap found on md array.

The bitmap is stored on member devices, not on the array, so
--examine-bitmap should be given the member device.
If --examine-bitmap is given an array, and it doesn't have a bitmap
on it (i.e. it isn't a member of some other array), then that
is probably a usage error, so print a helpful message.

Signed-off-by: NeilBrown <neilb@suse.de>
bitmap.c