From: Piergiorgio Sartor Date: Mon, 21 Mar 2011 23:09:38 +0000 (+1100) Subject: restripe: allow test code to have an offset on each device. X-Git-Tag: mdadm-3.2.1~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f38d7ae107de0615232a64a1b16a470fa1f8a4b;p=thirdparty%2Fmdadm.git restripe: allow test code to have an offset on each device. If device name ends :number, e.g. /dev/sda0:1234 then assume the RAID data starts that many sectors from start of device. Signed-off-by: NeilBrown --- diff --git a/restripe.c b/restripe.c index f579a92c..906788c4 100644 --- a/restripe.c +++ b/restripe.c @@ -875,6 +875,14 @@ main(int argc, char *argv[]) exit(3); } for (i=0; i