From: Neil Brown Date: Tue, 7 Jun 2005 23:16:36 +0000 (+0000) Subject: Change "dirty" status to "active" X-Git-Tag: mdadm-2.0-devel-1~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3fd117c7a2b2449704ee86eb9ec180906142f7a;p=thirdparty%2Fmdadm.git Change "dirty" status to "active" Description... Signed-off-by: Neil Brown --- diff --git a/ChangeLog b/ChangeLog index d64f039f..420b86a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -29,6 +29,9 @@ Changes Prior to 1.9.0 release works. - Assume '-Q' if just a device is given, rather than being silent. +Changes Prior to this release + - Change "dirty" status to "active" as it was confusing people. + Changes Prior to 1.8.0 release - Makefile cleanup from Luca Berra - --pid-file (-i) to set a pid file to use with --monitor --daemonise diff --git a/super1.c b/super1.c index 628284ff..63302484 100644 --- a/super1.c +++ b/super1.c @@ -146,6 +146,7 @@ static void examine_super1(void *sbv) printf(" Data Offset : %llu sectors\n", (unsigned long long)__le64_to_cpu(sb->data_offset)); if (sb->super_offset) printf(" Super Offset : %llu sectors\n", (unsigned long long)__le64_to_cpu(sb->super_offset)); + printf(" State : %s\n", (__le64_to_cpu(sb->resync_offset)+1)? "active":"clean"); printf(" Device UUID : "); for (i=0; i<16; i++) { printf("%02x", sb->set_uuid[i]);