diff options
author | sos <sos@FreeBSD.org> | 2003-05-04 09:28:43 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2003-05-04 09:28:43 +0000 |
commit | 0383b05a471b8801aeeed579da284decf6139a4a (patch) | |
tree | 2106761039e6b0737539bbac9565b0d32d061e27 /sbin | |
parent | 2db1c046842ef0966462b03924d789affecbf6a7 (diff) | |
download | FreeBSD-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.c | 6 |
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"); |