diff options
author | NeilBrown <neilb@suse.de> | 2013-05-13 16:57:10 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-05-13 16:57:10 +1000 |
commit | e6fc80a8958d4dc73d0f69784e0b79687c154759 (patch) | |
tree | a04552366e7cce19aa038b6873a87c80258526e3 /sysfs.c | |
parent | b3908491d6cd2f2a265ef674c575e03fd15eaad5 (diff) |
Detail: report on inactive arrays.
Array can be inactive when e.g. -I is in the process of assembling them.
This change allows --detail to report limited information about
these arrays.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'sysfs.c')
-rw-r--r-- | sysfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -280,6 +280,7 @@ struct mdinfo *sysfs_read(int fd, char *devnm, unsigned long options) free(dev); continue; } + sra->array.nr_disks++; sscanf(buf, "%d:%d", &dev->disk.major, &dev->disk.minor); /* special case check for block devices that can go 'offline' */ |