]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Change "dirty" to "active" in array status
authorNeil Brown <neilb@suse.de>
Mon, 4 Apr 2005 05:16:07 +0000 (05:16 +0000)
committerNeil Brown <neilb@suse.de>
Mon, 4 Apr 2005 05:16:07 +0000 (05:16 +0000)
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
ChangeLog
Detail.c
Examine.c

index 74d24480ff431467bfab92e2dd74cb9cdf95f59e..d282f4944bf3fae1fb81517406b952d291177364 100644 (file)
--- 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 <bluca@comedia.it>
index 76556682ca58ebb9d5bc451d49c1d9d6ffbaa5f6..c8992ccc881d0fee46a6938044b9d258b29c15e4 100644 (file)
--- 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<<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");
index 749bc7c1d2d8189910755c4fb46e434a7fc61a1b..79537fa736eca0c6d498a9959b123caf35cf9281 100644 (file)
--- 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<<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);