From: Neil Brown Date: Mon, 4 Apr 2005 05:16:07 +0000 (+0000) Subject: Change "dirty" to "active" in array status X-Git-Tag: mdadm-1.9.0~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=182661f4097636eb5578ca1d8291880114f15ad0;p=thirdparty%2Fmdadm.git Change "dirty" to "active" in array status Signed-off-by: Neil Brown --- diff --git a/ChangeLog b/ChangeLog index 74d24480..d282f494 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ Changes Prior to 1.9.0 release - Fix rpm build problem (stray %) - Minor manpage updates + - Change "dirty" status to "active" as it was confusing people. Changes Prior to 1.8.0 release - Makefile cleanup from Luca Berra diff --git a/Detail.c b/Detail.c index 76556682..c8992ccc 100644 --- a/Detail.c +++ b/Detail.c @@ -161,7 +161,7 @@ int Detail(char *dev, int brief, int test) atime = array.utime; printf(" Update Time : %.24s\n", ctime(&atime)); printf(" State : %s%s%s\n", - (array.state&(1<percent < 0) ? "" : (e->resync) ? ", resyncing": ", recovering"); diff --git a/Examine.c b/Examine.c index 749bc7c1..79537fa7 100644 --- a/Examine.c +++ b/Examine.c @@ -154,7 +154,7 @@ int Examine(mddev_dev_t devlist, int brief, int scan, int SparcAdjust) atime = super.utime; printf(" Update Time : %.24s\n", ctime(&atime)); printf(" State : %s\n", - (super.state&(1<