History log of /freebsd-10.0-release/sbin/ccdconfig/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


255977 01-Oct-2013 pluknet

Sweep man pages replacing ad -> ada.

Approved by: re (blackend)
MFC after: 1 week
X-MFC note: stable/9 only


248385 16-Mar-2013 joel

Cross-reference gvinum(8) instead of vinum(8).


241848 22-Oct-2012 eadler

Check the return error of set[e][ug]id. While this can never fail in the
current version of FreeBSD, this isn't guarenteed by the API.
Custom security modules, or future implementations of the setuid and
setgid may fail.

Submitted by: Erik Cederstrand
Approved by: cperciva
MFC after: 3 days


227081 04-Nov-2011 ed

Add missing static keywords for global variables to tools in sbin/.

These tools declare global variables without using the static keyword,
even though their use is limited to a single C-file, or without placing
an extern declaration of them in the proper header file.


213573 08-Oct-2010 uqs

mdoc: drop redundant .Pp and .LP calls

They have no effect when coming in pairs, or before .Bl/.Bd


209052 11-Jun-2010 uqs

Remove dead variable assignments

Found by: clang static analyzer
Verified by: md5(1)


198236 19-Oct-2009 ru

Switch the default WARNS level for sbin/ to 6.

Submitted by: Ulrich Spörlein


157748 14-Apr-2006 ru

Fix markup and some typos.


157740 13-Apr-2006 cracauer

Make CCD be able to read and write Linux software raids.

Supported for raid-0 with <n> disks, raid-1 with 2 disks.

Manpages have examples, warnings etc.

Test scripts on
http://www.cons.org/cracauer/ccdconfig-linux/
Reviewed by: alfred


149318 20-Aug-2005 simon

Remove reference to raid(4), the RAIDframe manual page, which was
deleted a while ago.

PR: docs/85142
Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
MFC after: 3 days


148719 05-Aug-2005 stefanf

Garbage collect useless variables.


148475 28-Jul-2005 keramida

Spell "partition" correctly.

PR: docs/84198
Submitted by: Gary W. Swearingen
MFC after: 3 days


141611 10-Feb-2005 ru

Sync program's usage() with manpage's SYNOPSIS.


140415 18-Jan-2005 ru

Sort sections.


140289 15-Jan-2005 ru

Fixed display types.


137096 31-Oct-2004 dd

Replace link to nonexistent raid(4) with one to geom(8). I don't like
implying that geom(8) is a RAID solution, but it can be used for that
purpose, and a pointer in that direction is better than nothing.

PR: 73088
Submitted by: Miguel Mendez <flynn@energyhq.es.eu.org>


131506 03-Jul-2004 ru

Deal with double whitespace.


131488 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


128073 09-Apr-2004 markm

Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core, imp


123295 08-Dec-2003 obrien

Try to catch up with device name changes due to GEOM'ification. Remove
note about requirement of operating on 'c' partition, GEOM removed this.

Mention RAIDframe, don't mention DPT hardware RAID as a good alternative.


118632 07-Aug-2003 johan

Make this WARNS=6 clean by renaming the variable 'err' to 'error'
in order not to shadow err(3).

Tested by: make universe


116126 09-Jun-2003 phk

Be consistent about module names.


116111 09-Jun-2003 phk

GEOMification of CCD.

You need your kernel and ccdconfig(8) to be in sync, particularly if your
source tree is on a ccd device.


115731 02-Jun-2003 phk

Further devilification of CCD:

Change the list interface to simplify things.
Remove old list ioctls which bogusly exported the softc to userland.
Move the softc and associated structures from the public header to
the source file.


115730 02-Jun-2003 phk

Use GEOM OAM api to retrive list of configured ccd devices.

Link against libgeom.


114589 03-May-2003 obrien

Use __FBSDID() to quiet GCC 3.3 warnings.


111943 06-Mar-2003 phk

Don't pick the name out of the devstat member of the ccd softc, it will
disappear soon. Exporting the softc in the first place is a mistake.


111285 23-Feb-2003 ru

mdoc(7) police: markup laundry.


109846 26-Jan-2003 keramida

Convert references to other manpages to .Xr and add
entries to the SEE ALSO section.


109472 18-Jan-2003 phk

Fix two errorchecks to check for negative error returns.


109421 17-Jan-2003 phk

Find places to store the previously implicityly passed unit number in
the three configuration ioctls which need a unit number.

Add a "ccd.ctl" device for config operations.

Implement ioctls on ccd.ctl which rely on the explicityly passed
unit numbers.

Update ccdconfig to use the new ccd.ctl interface.

Add code to the kernel to detect old ccdconfig binaries, and whine
about it.

Add code to ccdconfig to detect old kernels, and whine about it.

These two compatibility measures will be retained only for a limited
period since they are in the way of GEOM'ification of ccd.


109417 17-Jan-2003 phk

Fix various details so we get to WARNS=3.
Center operation on unit number rather than path name.


109076 10-Jan-2003 obrien

I don't know where we got this ccd creation example from... or if it was
ever correct. It certainly hasn't been correct for *years*, and it
conflicts with the FAQ. So update this example to match the FAQ.


108592 03-Jan-2003 phk

Remove CCDF_SWAP and CCDF_PARITY. They have never been implemented.


102231 21-Aug-2002 trhodes

s/filesystem/file system/g as discussed on -developers


99501 06-Jul-2002 charnier

The .Nm utility


92539 18-Mar-2002 imp

o __P removal.
o Use ANSI function definitions.
o main(int, char *[])


87325 04-Dec-2001 obrien

Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by: mike


86875 24-Nov-2001 dd

Spelling police: "more then" - "more than" where appropriate.


83329 11-Sep-2001 ru

Removed -M and -N from getopt(3) call as well.


82943 04-Sep-2001 phk

Duh! forgot this bit of the NCCD patch.

Submitted by: sobomax
Reviewed by: phk


82664 31-Aug-2001 ru

SECURITY: Drop `setgid kmem' bit as early as possible.


79754 15-Jul-2001 dd

Remove whitespace at EOL.


79530 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


79454 09-Jul-2001 dd

mdoc(7) police: remove extraneous .Pp before and/or after .Sh.


76812 18-May-2001 ru

Removed -I${.CURDIR}/.../sys from CFLAGS.


74815 26-Mar-2001 ru

- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.


74531 20-Mar-2001 ru

Set the default manual section for sbin/ to 8.


71099 16-Jan-2001 ru

Prepare for mdoc(7)NG.


70401 27-Dec-2000 ru

Prepare for mdoc(7)NG.


70025 14-Dec-2000 phantom

Add missing coma in SEE ALSO section

Reported by: Rich Morin <rdm@cfcl.com>


69793 09-Dec-2000 obrien

Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.


68960 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


68854 17-Nov-2000 ru

mdoc(7) police: use certified section headers wherever possible.


64282 05-Aug-2000 alex

Fix world-breakage: warnx("..') --> warnx("...")

Submitted by: Alain Thivillon <Alain.Thivillon@hsc.fr>,
Udo Erdelhoff <ue@nathan.ruhr.de>
Approved by: green


64275 05-Aug-2000 kris

Don't call warnx() without a format string (localized error messages
could conceivably cause a crash).

Obtained from: OpenBSD


51957 05-Oct-1999 n_hibma

Removal of sys/device.h

- Move intrhook stuff into kernel.h
- Remove all occurrences of #device <device.h>
- Add kernel.h were necessary (nowhere)
- delete device.h

This file contained the structures for cfdata (old style config) and is no
longer used. It was included by most drivers.

It confuses the remote debugger as the definition of 'struct device' in
device.h is found before the one in bus_private.h.


51690 26-Sep-1999 billf

Silence -Wall

Reviewed by: dillon


51604 23-Sep-1999 dillon

Bring documentation up to date


50476 28-Aug-1999 peter

$Id$ -> $FreeBSD$


49454 06-Aug-1999 jkoshy

Mention that CCD requires partitions of type FS_BSDFFS.

PR: docs/12985
Submitted by: Kiril Mitev <kiril@ideaglobal.com>


48568 04-Jul-1999 billf

(1) Include linker.h because we use kldload()
(2) Clear up an ambigious, nested if/else
(3) Cast a ccio_size to a long and use the correct format identifier.

Reviewed by: green


46577 06-May-1999 phk

don't use <sys/disk.h>


45329 05-Apr-1999 peter

kldload("ccd") if the ccd module isn't present.


41255 19-Nov-1998 asami

Change sd -> da in examples.

Inspired by: a mail by Scott Smyth <smyth@bashful.realminfo.com>


39228 15-Sep-1998 gibbs

Update system to new device statistics code.

Submitted by: "Kenneth D. Merry" <ken@plutotech.com>
mike@smith.net.au (Mike Smith)


36628 04-Jun-1998 charnier

Correct use of .Nm, use .Bl/.El in FILES section. Add rcsid. Remove unused
#includes and make it a little more -Wall-friendly.


32116 30-Dec-1997 imp

Properly drop group privs to open file names specified by the user.
Submitted by: Niall Smart rotel@indigo.ie
Obtained from: OpenBSD (rev 1.7 and 1.8)


26541 10-Jun-1997 charnier

Remove __progname. Cosmetic in usage string.


22990 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


18549 28-Sep-1996 wosch

.Os NetBSD -> .Os FreeBSD.
The pages are not NetBSD specific and FreeBSD is not a child of NetBSD.


16362 14-Jun-1996 asami

Our kernel is not called /netbsd. ;)

Submitted by: "Philippe Charnier" <charnier@lirmm.fr>


13781 31-Jan-1996 asami

Add CCDF_MIRROR and CCDF_PARITY to list of flags.


13762 30-Jan-1996 asami

Add mirror and parity flags to list of symbolic names.


13722 30-Jan-1996 asami

ccdcontrol -> ccdconfig.


13070 28-Dec-1995 asami

Added $Id$.


13052 27-Dec-1995 asami

Make it work for FreeBSD-2.1.


13050 27-Dec-1995 asami

This commit was generated by cvs2svn to compensate for changes in r13049,
which included commits to RCS files with non-trunk default branches.


13048 27-Dec-1995 asami

This commit was generated by cvs2svn to compensate for changes in r13047,
which included commits to RCS files with non-trunk default branches.


13045 27-Dec-1995 asami

This commit was generated by cvs2svn to compensate for changes in r13044,
which included commits to RCS files with non-trunk default branches.