OpenBSD CVS

CVS log for src/sbin/raidctl/Attic/raidctl.c


[BACK] Up to [local] / src / sbin / raidctl

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.32, Fri Apr 6 15:54:58 2012 UTC (12 years, 2 months ago) by jsing
Branch: MAIN
CVS Tags: HEAD
Changes since 1.31: +1 -1 lines
FILE REMOVED

Put raidctl in the attic.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Sep 24 00:11:15 2010 UTC (13 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.30: +6 -1 lines
Diff to previous 1.30 (colored)

Now that HW_DISKNAMES returns xx0: or xx0:uid entries, we must truncate
the : and uid components out -- otherwise these two programs will work
poorly.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Nov 12 15:29:24 2009 UTC (14 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored)

memory leak found by parfait; ok jsg

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jun 26 05:42:06 2008 UTC (15 years, 11 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.28: +1 -8 lines
Diff to previous 1.28 (colored)

First pass at removing clauses 3 and 4 from NetBSD licenses.

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@

Revision 1.28 / (download) - annotate - [select for diffs], Sun Sep 2 15:19:24 2007 UTC (16 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg

Revision 1.27 / (download) - annotate - [select for diffs], Wed Feb 21 16:33:09 2007 UTC (17 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

sort options; sync synopsis and usage()
from Igor Sobrado

Revision 1.26 / (download) - annotate - [select for diffs], Thu Nov 2 18:07:03 2006 UTC (17 years, 7 months ago) by ray
Branch: MAIN
Changes since 1.25: +3 -1 lines
Diff to previous 1.25 (colored)

Error out on empty string passed as device name.

OK moritz@.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Apr 2 21:38:56 2006 UTC (18 years, 2 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.24: +4 -3 lines
Diff to previous 1.24 (colored)

malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaks
suggested by kjell@; ok otto@ pat@ millert@ jaredy@

Revision 1.24 / (download) - annotate - [select for diffs], Mon Nov 14 17:17:11 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.23: +12 -12 lines
Diff to previous 1.23 (colored)

use asprintf
and do fstat() on the opened fd, instead of stat() before open()
from dhill@mindcry.org

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jul 17 02:14:33 2004 UTC (19 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.22: +25 -77 lines
Diff to previous 1.22 (colored)

some ansi; khalek@linuxgamers.net

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jun 21 15:27:18 2004 UTC (19 years, 11 months ago) by avsm
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

dont compare int with NULL, compare to 0 instead, otto@ ok

Revision 1.21 / (download) - annotate - [select for diffs], Sun Jul 6 22:55:32 2003 UTC (20 years, 11 months ago) by avsm
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.20: +25 -12 lines
Diff to previous 1.20 (colored)

error out instead of silently truncating command-line arguments if they
are too long
tdeval@ ok

Revision 1.20 / (download) - annotate - [select for diffs], Thu Mar 13 15:59:22 2003 UTC (21 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

1 byte underflow; from tdeval

Revision 1.19 / (download) - annotate - [select for diffs], Thu Mar 13 09:09:27 2003 UTC (21 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.18: +5 -3 lines
Diff to previous 1.18 (colored)

lots of sprintf -> snprintf and strcpy -> strlcpy; checked by tedu

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jun 9 08:13:09 2002 UTC (22 years ago) by todd
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.17: +40 -40 lines
Diff to previous 1.17 (colored)

rm trailing whitespace

Revision 1.17 / (download) - annotate - [select for diffs], Sun Mar 31 13:12:09 2002 UTC (22 years, 2 months ago) by tdeval
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.16: +6 -2 lines
Diff to previous 1.16 (colored)

grmbl, restore meter display.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Mar 29 14:26:59 2002 UTC (22 years, 2 months ago) by tdeval
Branch: MAIN
Changes since 1.15: +8 -13 lines
Diff to previous 1.15 (colored)

cleanup variable and parameter usage.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Feb 22 14:56:58 2002 UTC (22 years, 3 months ago) by tdeval
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Typo

Revision 1.14 / (download) - annotate - [select for diffs], Tue Feb 19 15:05:46 2002 UTC (22 years, 3 months ago) by tdeval
Branch: MAIN
Changes since 1.13: +4 -3 lines
Diff to previous 1.13 (colored)

no need to talk about parity re-write completion if no re-write was done.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Feb 19 08:38:40 2002 UTC (22 years, 3 months ago) by tdeval
Branch: MAIN
Changes since 1.12: +7 -2 lines
Diff to previous 1.12 (colored)

don't do anything if #raid=0 (just return)

Revision 1.12 / (download) - annotate - [select for diffs], Tue Feb 19 02:21:30 2002 UTC (22 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored)

be QUIET by default, damn it

Revision 1.11 / (download) - annotate - [select for diffs], Mon Feb 18 03:45:27 2002 UTC (22 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.10: +5 -26 lines
Diff to previous 1.10 (colored)

shorten usage

Revision 1.10 / (download) - annotate - [select for diffs], Sun Feb 17 20:23:37 2002 UTC (22 years, 3 months ago) by tdeval
Branch: MAIN
Changes since 1.9: +508 -314 lines
Diff to previous 1.9 (colored)

raidctl can do some actions on 'all' configured raids now :
     -B : CopyBack
     -G : Generate config
     -i : Initialize
     -p : Check parity
     -P : Check and re-write parity
     -s : Status
     -S : Progress status
     -u : Unconfigure

Revision 1.9 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:37 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.8: +22 -22 lines
Diff to previous 1.8 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Dec 29 21:54:57 2001 UTC (22 years, 5 months ago) by tdeval
Branch: MAIN
Changes since 1.7: +379 -220 lines
Diff to previous 1.7 (colored)

Changes to support the new RAID_AUTOCONF option (-A) of RAIDFrame.
raidctl(8) man page update.

ok drahn@, deraadt@

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jul 7 18:26:19 2001 UTC (22 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.6: +3 -8 lines
Diff to previous 1.6 (colored)

major -Wall cleanup, almost complete

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jun 4 14:59:49 2001 UTC (23 years ago) by mickey
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

return from main() don't exit

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jan 11 18:03:45 2000 UTC (24 years, 5 months ago) by peter
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.4: +2 -3 lines
Diff to previous 1.4 (colored)

remove redundent printf

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jan 7 14:51:41 2000 UTC (24 years, 5 months ago) by peter
Branch: MAIN
Changes since 1.3: +343 -27 lines
Diff to previous 1.3 (colored)

sync with Greg Oster's NetBSD chages to Jan 4th 2000.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 30 14:45:32 1999 UTC (24 years, 10 months ago) by peter
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.2: +272 -44 lines
Diff to previous 1.2 (colored)

Update RAIDframe from NetBSD-current as of 1999/07/26.

Please note that you *must* follow the upgrade instructions at

	http://www.cs.usask.ca/staff/oster/clabel_upgrade.html

before installing the new raidctl and new kernel using this code.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Feb 16 21:51:39 1999 UTC (25 years, 3 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.1: +5 -4 lines
Diff to previous 1.1 (colored)

merge from netbsd 990213 + make compile with our includes

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jan 11 14:49:44 1999 UTC (25 years, 5 months ago) by niklas
Branch: MAIN

Control RAIDframe

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.