diff options
author | Neil Brown <neilb@suse.de> | 2005-04-04 05:16:07 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2005-04-04 05:16:07 +0000 |
commit | 182661f4097636eb5578ca1d8291880114f15ad0 (patch) | |
tree | f430fd7ef7e74ab5306dbfb862faacb21e0a5dd5 | |
parent | a75f2fbcf2b3737084f6b55d78f22abbcbcc97b2 (diff) | |
download | mdadm-182661f4097636eb5578ca1d8291880114f15ad0.tar.gz mdadm-182661f4097636eb5578ca1d8291880114f15ad0.tar.xz mdadm-182661f4097636eb5578ca1d8291880114f15ad0.zip |
Change "dirty" to "active" in array status
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | Detail.c | 2 | ||||
-rw-r--r-- | Examine.c | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -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 <bluca@comedia.it> @@ -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<<MD_SB_CLEAN))?"clean":"dirty", + (array.state&(1<<MD_SB_CLEAN))?"clean":"active", array.active_disks < array.raid_disks? ", degraded":"", (!e || e->percent < 0) ? "" : (e->resync) ? ", resyncing": ", recovering"); @@ -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<<MD_SB_CLEAN))?"clean":"dirty"); + (super.state&(1<<MD_SB_CLEAN))?"clean":"active"); printf(" Active Devices : %d\n", super.active_disks); printf("Working Devices : %d\n", super.working_disks); printf(" Failed Devices : %d\n", super.failed_disks); |