summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2003-05-04 09:28:43 +0000
committersos <sos@FreeBSD.org>2003-05-04 09:28:43 +0000
commit0383b05a471b8801aeeed579da284decf6139a4a (patch)
tree2106761039e6b0737539bbac9565b0d32d061e27 /sbin
parent2db1c046842ef0966462b03924d789affecbf6a7 (diff)
downloadFreeBSD-src-0383b05a471b8801aeeed579da284decf6139a4a.zip
FreeBSD-src-0383b05a471b8801aeeed579da284decf6139a4a.tar.gz
On getting status print the stripesize on RAID0's.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/atacontrol/atacontrol.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/atacontrol/atacontrol.c b/sbin/atacontrol/atacontrol.c
index ea7f4cb..f600f95 100644
--- a/sbin/atacontrol/atacontrol.c
+++ b/sbin/atacontrol/atacontrol.c
@@ -387,13 +387,15 @@ main(int argc, char **argv)
printf("ar%d: ATA ", iocmd.channel);
switch (iocmd.u.raid_status.type) {
case AR_RAID0:
- printf("RAID0");
+ printf("RAID0 stripesize=%d",
+ iocmd.u.raid_status.interleave);
break;
case AR_RAID1:
printf("RAID1");
break;
case AR_RAID0 | AR_RAID1:
- printf("RAID0+1");
+ printf("RAID0+1 stripesize=%d",
+ iocmd.u.raid_status.interleave);
break;
case AR_SPAN:
printf("SPAN");
OpenPOWER on IntegriCloud