diff options
author | Neil Brown <neilb@suse.de> | 2003-07-28 23:59:00 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2003-07-28 23:59:00 +0000 |
commit | aa88f531b468349982905ecacf11da2cb6678ce6 (patch) | |
tree | 9a138bc93ff24d041d638a2dcabe3fb6279aee55 /Detail.c | |
parent | 56eedc1a3f077e1822a4ee0889a78d89e834b037 (diff) | |
download | mdadm-1.3.0.tar.gz mdadm-1.3.0.tar.xz mdadm-1.3.0.zip |
mdadm-1.3.0mdadm-1.3.0
Diffstat (limited to 'Detail.c')
-rw-r--r-- | Detail.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -162,6 +162,7 @@ int Detail(char *dev, int brief) if (disk.state & (1<<MD_DISK_ACTIVE)) printf(" active"); if (disk.state & (1<<MD_DISK_SYNC)) printf(" sync"); if (disk.state & (1<<MD_DISK_REMOVED)) printf(" removed"); + if (disk.state == 0) printf(" spare"); } if ((dv=map_dev(disk.major, disk.minor))) { if (brief) { |