summaryrefslogtreecommitdiffstats
path: root/Examine.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2002-04-11 01:36:14 +0000
committerNeil Brown <neilb@suse.de>2002-04-11 01:36:14 +0000
commitb83d95f362ff41e5ce63baa3bbcf0a76ea1f15aa (patch)
tree0663f165bb9b4c94ed196a9e35b05ac2f5466e27 /Examine.c
parentc913b90e6dba02613fe24d3e7f0b3f251a01bc50 (diff)
downloadmdadm-b83d95f362ff41e5ce63baa3bbcf0a76ea1f15aa.tar.gz
mdadm-b83d95f362ff41e5ce63baa3bbcf0a76ea1f15aa.tar.xz
mdadm-b83d95f362ff41e5ce63baa3bbcf0a76ea1f15aa.zip
mdadm-0.8.2mdadm-0.8.2
Diffstat (limited to 'Examine.c')
-rw-r--r--Examine.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/Examine.c b/Examine.c
index 961d60e..2bc3806 100644
--- a/Examine.c
+++ b/Examine.c
@@ -145,8 +145,8 @@ int Examine(mddev_dev_t devlist, int brief, int scan)
c=map_num(pers, super.level);
printf(" Raid Level : %s\n", c?c:"-unknown-");
printf(" Device Size : %d%s\n", super.size, human_size((long long)super.size<<10));
- printf(" Raid Disks : %d\n", super.raid_disks);
- printf(" Total Disks : %d\n", super.nr_disks);
+ printf(" Raid Devices : %d\n", super.raid_disks);
+ printf(" Total Devices : %d\n", super.nr_disks);
printf("Preferred Minor : %d\n", super.md_minor);
printf("\n");
atime = super.utime;
@@ -154,10 +154,10 @@ int Examine(mddev_dev_t devlist, int brief, int scan)
printf(" State : %s, %serrors\n",
(super.state&(1<<MD_SB_CLEAN))?"clean":"dirty",
(super.state&(1<<MD_SB_ERRORS))?"":"no-");
- printf(" Active Drives : %d\n", super.active_disks);
- printf(" Working Drives : %d\n", super.working_disks);
- printf(" Failed Drives : %d\n", super.failed_disks);
- printf(" Spare Drives : %d\n", super.spare_disks);
+ printf(" Active Devices : %d\n", super.active_disks);
+ printf("Working Devices : %d\n", super.working_disks);
+ printf(" Failed Devices : %d\n", super.failed_disks);
+ printf(" Spare Devices : %d\n", super.spare_disks);
if (calc_sb_csum(&super) == super.sb_csum)
printf(" Checksum : %x - correct\n", super.sb_csum);
else
@@ -180,7 +180,7 @@ int Examine(mddev_dev_t devlist, int brief, int scan)
default: break;
}
printf("\n");
- printf(" Number Major Minor RaidDisk State\n");
+ printf(" Number Major Minor RaidDevice State\n");
for (d= -1; d<(signed int)(super.raid_disks+super.spare_disks); d++) {
mdp_disk_t *dp;
char *dv;
@@ -206,7 +206,7 @@ int Examine(mddev_dev_t devlist, int brief, int scan)
char sep='=';
char *c=map_num(pers, ap->super.level);
char *d;
- printf("ARRAY /dev/md%d level=%s disks=%d UUID=",
+ printf("ARRAY /dev/md%d level=%s num-devices=%d UUID=",
ap->super.md_minor, c?c:"-unknown-", ap->super.raid_disks);
if (ap->super.minor_version >= 90)
printf("%08x:%08x:%08x:%08x", ap->super.set_uuid0, ap->super.set_uuid1,