From 120230a4fc5a3f8261f002e591c3add3edb370c7 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Mon, 15 May 2006 06:03:05 +0000 Subject: Detail checks if array has been started or not and includes that in report. Signed-off-by: Neil Brown --- Detail.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Detail.c') diff --git a/Detail.c b/Detail.c index 882ec07..b5f7d18 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); -- cgit