From 120230a4fc5a3f8261f002e591c3add3edb370c7 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Mon, 15 May 2006 06:03:05 +0000 Subject: [PATCH] Detail checks if array has been started or not and includes that in report. Signed-off-by: Neil Brown --- ChangeLog | 2 ++ Detail.c | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8f8d9499..a6047ac0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,8 @@ Changes Prior to this release failure. - New 'CREATE' line in mdadm.conf for defaults such as owner, group, mode and auto-flag + - --detail checks if array has been started or not and includes that + in report. Changes Prior to 2.4.1 release - Honour --write-mostly when adding to an array without persistent diff --git a/Detail.c b/Detail.c index 882ec078..b5f7d189 100644 --- a/Detail.c +++ b/Detail.c @@ -190,11 +190,12 @@ int Detail(char *dev, int brief, int test) printf(" Intent Bitmap : Internal\n\n"); atime = array.utime; printf(" Update Time : %.24s\n", ctime(&atime)); - printf(" State : %s%s%s\n", + printf(" State : %s%s%s%s\n", (array.state&(1<percent < 0) ? "" : - (e->resync) ? ", resyncing": ", recovering"); + (e->resync) ? ", resyncing": ", recovering", + larray_size ? "": ", Not Started"); printf(" Active Devices : %d\n", array.active_disks); printf("Working Devices : %d\n", array.working_disks); printf(" Failed Devices : %d\n", array.failed_disks); -- 2.39.2