summaryrefslogtreecommitdiff
path: root/sbin/raidctl
AgeCommit message (Collapse)Author
2010-04-01WARNINGS -> CAVEATS, and a little neccessary cleanup;Jason McIntyre
2009-11-12memory leak found by parfait; ok jsgTheo de Raadt
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
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;Jason McIntyre
2008-03-23Remove two stray references to the departed -r argument to disklabel.Kenneth R Westerback
Pointed out by jmc@
2008-01-26the kids want I/O;Jason McIntyre
2007-10-22add missing header to avoid warningCharles Longeau
"Yes please" ray@ krw@
2007-10-20Strip trailing whitespace on input lines. Should make config files moreKenneth R Westerback
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:Charles Longeau
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 bufferGilles Chehade
ok pyr@, ray@, millert@, moritz@, chl@
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-02-21sort options; sync synopsis and usage()Jason McIntyre
from Igor Sobrado
2007-02-18Use sizeof(buf) instead of magic numbers.Ray Lai
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)Ray Lai
OK moritz@.
2007-02-18Don't ignore buffer size argument.Ray Lai
OK millert@.
2006-11-02Check for newline before truncating.Ray Lai
OK moritz@.
2006-11-02Error out on empty string passed as device name.Ray Lai
OK moritz@.
2006-04-02malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaksDamien Miller
suggested by kjell@; ok otto@ pat@ millert@ jaredy@
2005-11-14use asprintfTheo de Raadt
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;Jason McIntyre
ok deraadt@
2005-08-24document /etc/raid[0-3].conf in FILES;Jason McIntyre
from rohee@, but adjusted by me;
2005-03-12escape `.' at eol to avoid double spacing issue;Jason McIntyre
2004-07-17some ansi; khalek@linuxgamers.netTheo de Raadt
2004-06-21dont compare int with NULL, compare to 0 instead, otto@ okAnil Madhavapeddy
2003-12-04no, you cannot form a raid from wd0h and wd0h.Henning Brauer
found by Joel Knight
2003-09-18add .Bk/.Ek to SYNOPSIS;Jason McIntyre
2003-07-06error out instead of silently truncating command-line arguments if theyAnil Madhavapeddy
are too long tdeval@ ok
2003-06-03- section reorderJason McIntyre
- some mdoc fixes
2003-04-02fifo -> FIFOJason McIntyre
ok millert@
2003-03-131 byte underflow; from tdevalTheo de Raadt
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2003-02-13typos;Jason McIntyre
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;Jason McIntyre
raidctl(8) ok millert@ mknetid(8) help maja@
2002-12-16raidframe -> RAIDframeThierry Deval
2002-10-15option, not options; hamajima@nagoya.ydc.co.jpTheo de Raadt
2002-08-08Insist on having the raid[0..n]a set up, when using the root on raid feature.Thierry Deval
(to avoid problems as in PR#2816)
2002-06-09rm trailing whitespaceTodd T. Fries
2002-05-22use strlcpy(3)Thierry Deval
10x deraadt@
2002-04-19Do not depend upon <ansidecl.h> to compile.Miod Vallat
Conforming to espie's evil plans, and ok espie@ tdeval@
2002-03-31grmbl, restore meter display.Thierry Deval
2002-03-29cleanup variable and parameter usage.Thierry Deval
2002-02-22TypoThierry Deval
2002-02-19no need to talk about parity re-write completion if no re-write was done.Thierry Deval
2002-02-19don't do anything if #raid=0 (just return)Thierry Deval
2002-02-19be QUIET by default, damn itTheo de Raadt
2002-02-18sync SYNOPSIS with usage:Thierry Deval
and some cleanups
2002-02-18shorten usageTheo de Raadt
2002-02-17raidctl can do some actions on 'all' configured raids now :Thierry Deval
-B : CopyBack -G : Generate config -i : Initialize -p : Check parity -P : Check and re-write parity -s : Status -S : Progress status -u : Unconfigure
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.