diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2011-12-31 17:06:11 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2011-12-31 17:06:11 +0000 |
commit | 4a8ea1cbcedf1fd02dacfffb078d6933c8eb61e3 (patch) | |
tree | 2b86c5b03b517fd070199136059e3c58953c3472 /sbin/bioctl/bioctl.c | |
parent | de79dec21ccd7dff0b8ed379e3fbe8df199e4df6 (diff) |
Implement a concatenating discipline for softraid.
Many thanks to Marco Peereboom for his assistance with testing and
debugging. Thanks also to Josh Grosse and Chris Jackman for testing.
Diffstat (limited to 'sbin/bioctl/bioctl.c')
-rw-r--r-- | sbin/bioctl/bioctl.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sbin/bioctl/bioctl.c b/sbin/bioctl/bioctl.c index ee4a4ba221c..69fbc4c43c5 100644 --- a/sbin/bioctl/bioctl.c +++ b/sbin/bioctl/bioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bioctl.c,v 1.103 2011/08/01 08:23:52 matthieu Exp $ */ +/* $OpenBSD: bioctl.c,v 1.104 2011/12/31 17:06:09 jsing Exp $ */ /* * Copyright (c) 2004, 2005 Marco Peereboom @@ -396,6 +396,11 @@ bio_inq(char *name) volname, status, size, bv.bv_dev, percent, seconds); break; + case 'c': + printf("%11s %-10s %14s %-7s CONCAT%s%s\n", + volname, status, size, bv.bv_dev, + percent, seconds); + break; default: printf("%11s %-10s %14s %-7s RAID%u%s%s\n", volname, status, size, bv.bv_dev, |