diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2009-06-17 22:50:59 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2009-06-17 22:50:59 +0000 |
commit | 08215f412037745647e47666dab75fca927c87ad (patch) | |
tree | 6b5fc55e702ab8b403501f587ab8a517e98dd995 /sbin/bioctl/bioctl.c | |
parent | 89ae8a19aa82210ba492f252aca8b5db868ce984 (diff) |
Add raid 4 & 5 in create
ok jordan
Diffstat (limited to 'sbin/bioctl/bioctl.c')
-rw-r--r-- | sbin/bioctl/bioctl.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/bioctl/bioctl.c b/sbin/bioctl/bioctl.c index acb2294dfc1..94716c4f447 100644 --- a/sbin/bioctl/bioctl.c +++ b/sbin/bioctl/bioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bioctl.c,v 1.78 2009/02/22 07:46:55 jmc Exp $ */ +/* $OpenBSD: bioctl.c,v 1.79 2009/06/17 22:50:58 marco Exp $ */ /* * Copyright (c) 2004, 2005 Marco Peereboom @@ -699,6 +699,10 @@ bio_createraid(u_int16_t level, char *dev_list) case 1: min_disks = 2; break; + case 4: + case 5: + min_disks = 3; + break; case 'C': min_disks = 1; break; |