johan
fd49816cd7
Make this WARNS=6 clean by renaming the variable 'err' to 'error'
...
in order not to shadow err(3).
Tested by: make universe
2003-08-07 19:10:35 +00:00
phk
a93c01968a
Be consistent about module names.
2003-06-09 21:50:41 +00:00
phk
3bba46e45a
GEOMification of CCD.
...
You need your kernel and ccdconfig(8) to be in sync, particularly if your
source tree is on a ccd device.
2003-06-09 19:25:07 +00:00
phk
52a564bd3f
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.
2003-06-02 21:29:04 +00:00
phk
ca0770e1dd
Use GEOM OAM api to retrive list of configured ccd devices.
...
Link against libgeom.
2003-06-02 20:50:59 +00:00
obrien
19105c8312
Use __FBSDID() to quiet GCC 3.3 warnings.
2003-05-03 18:41:59 +00:00
phk
6a50041564
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.
2003-03-06 06:31:49 +00:00
ru
8b5b8ec6a7
mdoc(7) police: markup laundry.
2003-02-23 01:47:49 +00:00
keramida
89f001d710
Convert references to other manpages to .Xr and add
...
entries to the SEE ALSO section.
2003-01-26 02:52:07 +00:00
phk
910debfbc0
Fix two errorchecks to check for negative error returns.
2003-01-18 10:29:24 +00:00
phk
62c9659f0c
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.
2003-01-17 14:53:53 +00:00
phk
b6ec46868d
Fix various details so we get to WARNS=3.
...
Center operation on unit number rather than path name.
2003-01-17 13:23:41 +00:00
obrien
bd2ef992a4
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.
2003-01-10 17:46:22 +00:00
phk
e5c115f5a6
Remove CCDF_SWAP and CCDF_PARITY. They have never been implemented.
2003-01-03 08:56:54 +00:00
trhodes
136be46680
s/filesystem/file system/g as discussed on -developers
2002-08-21 18:11:48 +00:00
charnier
a2accd01f0
The .Nm utility
2002-07-06 19:34:18 +00:00
imp
d5c1c3afc3
o __P removal.
...
o Use ANSI function definitions.
o main(int, char *[])
2002-03-18 05:00:52 +00:00
obrien
9baf2f1b03
Default to WARNS=2.
...
Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
2001-12-04 02:19:58 +00:00
dd
3604f5fad7
Spelling police: "more then" - "more than" where appropriate.
2001-11-24 19:47:12 +00:00
ru
a0a0725b67
Removed -M and -N from getopt(3) call as well.
2001-09-11 09:49:36 +00:00
phk
20b1b95395
Duh! forgot this bit of the NCCD patch.
...
Submitted by: sobomax
Reviewed by: phk
2001-09-04 09:19:48 +00:00
ru
d7e70183dd
SECURITY: Drop `setgid kmem' bit as early as possible.
2001-08-31 16:26:37 +00:00
dd
a145482cf6
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
ru
7cef49ff86
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 11:04:34 +00:00
dd
eaa6ee03b8
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
2001-07-09 09:54:33 +00:00
ru
52a9144c8b
Removed -I${.CURDIR}/.../sys from CFLAGS.
2001-05-18 13:41:42 +00:00
ru
86642a4ab4
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
ru
56b5d7535b
Set the default manual section for sbin/ to 8.
2001-03-20 18:13:31 +00:00
ru
04d60c1164
Prepare for mdoc(7)NG.
2001-01-16 09:15:57 +00:00
ru
6c6a7d3786
Prepare for mdoc(7)NG.
2000-12-27 14:40:52 +00:00
phantom
32d8e5ee4d
Add missing coma in SEE ALSO section
...
Reported by: Rich Morin <rdm@cfcl.com>
2000-12-14 16:24:38 +00:00
obrien
c2ee1dcc02
Add `_PATH_DEVZERO'.
...
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
ru
ea31070695
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 16:52:27 +00:00
ru
eb8c554f56
mdoc(7) police: use certified section headers wherever possible.
2000-11-17 11:44:16 +00:00
alex
ed11ad051e
Fix world-breakage: warnx("..') --> warnx("...")
...
Submitted by: Alain Thivillon <Alain.Thivillon@hsc.fr>,
Udo Erdelhoff <ue@nathan.ruhr.de>
Approved by: green
2000-08-05 15:45:59 +00:00
kris
0cabc8fc06
Don't call warnx() without a format string (localized error messages
...
could conceivably cause a crash).
Obtained from: OpenBSD
2000-08-05 06:06:48 +00:00
n_hibma
279ad30025
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.
1999-10-05 21:19:41 +00:00
billf
391966e267
Silence -Wall
...
Reviewed by: dillon
1999-09-26 21:37:46 +00:00
dillon
d0c237410f
Bring documentation up to date
1999-09-23 10:35:48 +00:00
peter
76f0c923fe
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
jkoshy
2b43a0b4ec
Mention that CCD requires partitions of type FS_BSDFFS.
...
PR: docs/12985
Submitted by: Kiril Mitev <kiril@ideaglobal.com>
1999-08-06 06:25:07 +00:00
billf
a84623740c
(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
1999-07-04 23:42:32 +00:00
phk
0cb7190450
don't use <sys/disk.h>
1999-05-06 19:20:34 +00:00
peter
3f37320ea5
kldload("ccd") if the ccd module isn't present.
1999-04-05 06:30:12 +00:00
asami
4168712b98
Change sd -> da in examples.
...
Inspired by: a mail by Scott Smyth <smyth@bashful.realminfo.com>
1998-11-19 20:22:10 +00:00
gibbs
1bb65e0d8a
Update system to new device statistics code.
...
Submitted by: "Kenneth D. Merry" <ken@plutotech.com>
mike@smith.net.au (Mike Smith)
1998-09-15 08:15:30 +00:00
charnier
74e9afca63
Correct use of .Nm, use .Bl/.El in FILES section. Add rcsid. Remove unused
...
#includes and make it a little more -Wall-friendly.
1998-06-04 06:41:26 +00:00
imp
a1d9242a63
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)
1997-12-30 05:13:21 +00:00
charnier
e8cbbf4f69
Remove __progname. Cosmetic in usage string.
1997-06-10 11:04:50 +00:00
peter
4968036f61
Revert $FreeBSD$ to $Id$
1997-02-22 14:40:44 +00:00