summaryrefslogtreecommitdiff
path: root/sbin/raidctl
AgeCommit message (Collapse)Author
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.
2002-02-11Initial patch.Mike Pechkin
When you give command examples in a manual page prefix them with $ command or # command deraadt@ ok
2002-01-05Documentation update. Adapted from NetBSD.Thierry Deval
2001-12-30NetBSD -> OpenBSD (Ox)Brad Smith
2001-12-29Changes to support the new RAID_AUTOCONF option (-A) of RAIDFrame.Thierry Deval
raidctl(8) man page update. ok drahn@, deraadt@
2001-07-20we don't like:Mike Pechkin
o) .Pp before/after .Sh; o) .Pp before/after .Rs/.Re; o) .Nm without argument in SYNOPSIS;
2001-07-07major -Wall cleanup, almost completeTheo de Raadt
2001-06-04return from main() don't exitMichael Shalayeff
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.