summaryrefslogtreecommitdiffstats
path: root/sbin/raidctl
AgeCommit message (Collapse)AuthorFilesLines
2012-04-06Put raidctl in the attic.jsing4-3197/+0
2011-10-06no more ccd(4);jmc1-3/+2
2010-09-24Now that HW_DISKNAMES returns xx0: or xx0:uid entries, we must truncatederaadt1-1/+6
the : and uid components out -- otherwise these two programs will work poorly.
2010-04-01WARNINGS -> CAVEATS, and a little neccessary cleanup;jmc1-22/+22
2009-11-12memory leak found by parfait; ok jsgderaadt1-1/+2
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.ray2-17/+3
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-03fix some spacing issues;jmc1-3/+4
2008-03-23Remove two stray references to the departed -r argument to disklabel.krw1-3/+3
Pointed out by jmc@
2008-01-26the kids want I/O;jmc1-8/+8
2007-10-22add missing header to avoid warningchl1-1/+2
"Yes please" ray@ krw@
2007-10-20Strip trailing whitespace on input lines. Should make config files morekrw1-9/+13
resistant to careless fingers. A variant of what NetBSD did to achieve the same ends. Feedback, suggestions & "looks good" ray@
2007-09-14remove some warnings:chl1-2/+2
unused variable `variable' `variable' might be used uninitialized in this function ok gilles@ ray@
2007-09-11use strcspn to properly overwrite '\n' in fgets returned buffergilles1-11/+5
ok pyr@, ray@, millert@, moritz@, chl@
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt1-3/+3
2007-05-31convert to new .Dd format;jmc1-2/+2
2007-02-21sort options; sync synopsis and usage()jmc2-45/+44
from Igor Sobrado
2007-02-18Use sizeof(buf) instead of magic numbers.ray1-14/+15
From Charles Longeau <chl at tuxfamily dot org> to tech@ back in November, reminded by deraadt@. OK moritz@.
2007-02-18Pass correct buffer size. (sizeof(cfgPtr->spare_names[c]) != 256)ray1-2/+2
OK moritz@.
2007-02-18Don't ignore buffer size argument.ray1-3/+3
OK millert@.
2006-11-02Check for newline before truncating.ray1-8/+8
OK moritz@.
2006-11-02Error out on empty string passed as device name.ray1-1/+3
OK moritz@.
2006-04-02malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaksdjm1-3/+4
suggested by kjell@; ok otto@ pat@ millert@ jaredy@
2005-11-14use asprintfderaadt1-12/+12
and do fstat() on the opened fd, instead of stat() before open() from dhill@mindcry.org
2005-08-27no need to display the copyright in the formatted page;jmc1-29/+1
ok deraadt@
2005-08-24document /etc/raid[0-3].conf in FILES;jmc1-2/+6
from rohee@, but adjusted by me;
2005-03-12escape `.' at eol to avoid double spacing issue;jmc1-3/+3
2004-07-17some ansi; khalek@linuxgamers.netderaadt2-102/+34
2004-06-21dont compare int with NULL, compare to 0 instead, otto@ okavsm1-2/+2
2003-12-04no, you cannot form a raid from wd0h and wd0h.henning1-2/+2
found by Joel Knight
2003-09-18add .Bk/.Ek to SYNOPSIS;jmc1-1/+3
2003-07-06error out instead of silently truncating command-line arguments if theyavsm1-12/+25
are too long tdeval@ ok
2003-06-03- section reorderjmc1-289/+328
- some mdoc fixes
2003-04-02fifo -> FIFOjmc1-2/+2
ok millert@
2003-03-131 byte underflow; from tdevalderaadt1-2/+2
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduderaadt2-6/+8
2003-02-13typos;jmc1-2/+2
setextattr(8): example markus@ spamd(8): someone else found some of these on bugs/misc, but for the life of me i can't find out who pf.conf(5): from openbsd@davidkrause.com raidctl(8): from ian@darwinsys.com
2003-02-11typos;jmc1-33/+68
raidctl(8) ok millert@ mknetid(8) help maja@
2002-12-16raidframe -> RAIDframetdeval1-3/+3
2002-10-15option, not options; hamajima@nagoya.ydc.co.jpderaadt1-2/+2
2002-08-08Insist on having the raid[0..n]a set up, when using the root on raid feature.tdeval1-10/+15
(to avoid problems as in PR#2816)
2002-06-09rm trailing whitespacetodd4-154/+154
2002-05-22use strlcpy(3)tdeval1-3/+3
10x deraadt@
2002-04-19Do not depend upon <ansidecl.h> to compile.miod1-2/+8
Conforming to espie's evil plans, and ok espie@ tdeval@
2002-03-31grmbl, restore meter display.tdeval1-2/+6
2002-03-29cleanup variable and parameter usage.tdeval2-21/+17
2002-02-22Typotdeval1-2/+2
2002-02-19no need to talk about parity re-write completion if no re-write was done.tdeval1-3/+4
2002-02-19don't do anything if #raid=0 (just return)tdeval1-2/+7
2002-02-19be QUIET by default, damn itderaadt1-2/+3
2002-02-18sync SYNOPSIS with usage:tdeval1-84/+39
and some cleanups