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.1.5~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b306624e2bfd061339641295ed5cb52d40ab7ae3;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 3074693b..9ae1b851 100644 --- a/restripe.c +++ b/restripe.c @@ -777,6 +777,14 @@ main(int argc, char *argv[]) exit(3); } for (i=0; i