summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2005-06-07 23:16:36 +0000
committerNeil Brown <neilb@suse.de>2005-06-07 23:16:36 +0000
commita3fd117c7a2b2449704ee86eb9ec180906142f7a (patch)
tree0d3f2ad07a02562ec594b058952844a7f360f81b
parent234a131a3338bb1509c6d2e0af4c6dcd9cef25fc (diff)
downloadmdadm-a3fd117c7a2b2449704ee86eb9ec180906142f7a.tar.gz
mdadm-a3fd117c7a2b2449704ee86eb9ec180906142f7a.tar.xz
mdadm-a3fd117c7a2b2449704ee86eb9ec180906142f7a.zip
Change "dirty" status to "active"
Description... Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
-rw-r--r--ChangeLog3
-rw-r--r--super1.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d64f039..420b86a 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 <bluca@comedia.it>
- --pid-file (-i) to set a pid file to use with --monitor --daemonise
diff --git a/super1.c b/super1.c
index 628284f..6330248 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]);