Commit Graph

54 Commits

Author SHA1 Message Date
lukem
3f580214e5 Support CCDF_NOLABEL. Document what CCDF_UNIFORM actually does. 2003-10-17 05:23:56 +00:00
itojun
8612aa8b30 use asprintf David Hill 2003-10-08 20:39:07 +00:00
itojun
eb48d1d3cb plug memory leak. David Hill 2003-10-08 20:36:25 +00:00
itojun
731ae88ecd realloc pedant 2003-09-19 08:35:15 +00:00
wiz
990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz
2fb4b1db52 New sentence, new line. By Robert Elz with minimal fixes. 2002-10-01 13:40:23 +00:00
wiz
3443a24794 Seems I was overzealous. Undo part of last, noted by grant. 2002-06-11 13:58:09 +00:00
wiz
d354ad6e04 Fix copyright, and some minor mdoc improvements. 2002-06-11 13:45:35 +00:00
grant
39541f4926 add ccd.conf(5) 2002-06-11 13:33:48 +00:00
wiz
875bfce8db Sort sections, use standard section headers. 2001-11-16 11:26:53 +00:00
wiz
4ce43ae0cd Whitespace nits 2001-11-16 10:25:42 +00:00
wiz
1e378c4c12 precede, not preceed. 2001-08-20 12:00:46 +00:00
wiz
f705e892e5 concatinate -> concatenate 2001-07-26 22:49:09 +00:00
wiz
73f545bb5b Drop arguments of .Os. 2001-06-05 11:22:41 +00:00
cgd
8a986b2e96 convert to use getprogname() 2001-02-19 22:48:57 +00:00
thorpej
cab4d17202 Sprinkle some const. 2001-01-28 00:59:26 +00:00
is
9979da6cbb Format string cleanups by Bill Sommerfeld. 2000-10-10 20:24:49 +00:00
itojun
ddf8cb2acb warnx?/errx? audit. don't pass variable/function return value alone.
use with "%s".  from openbsd.
2000-07-07 12:29:09 +00:00
enami
4582a90f6d Sync with rev. 1.19 of vnconfig.c. 2000-06-09 15:06:31 +00:00
enami
24d448f70e Define __POOL_EXPOSE almost at the beginning, instead of just before
dev/vndvar.h or dev/ccdvar.h so that struct pool is always available
regardless of multiple inclusion.  Actually, ccdconfig.c compiles without
this change but ...
2000-02-16 06:52:31 +00:00
thorpej
ae6f518821 Garbage-collect CCDF_SWAP; no longer used, and doesn't make any sense
with the UVM swap code.
1999-08-11 02:44:35 +00:00
ross
8d5d550e54 Define __POOL_EXPOSE for this nlist-groveling program. 1999-04-01 09:12:21 +00:00
thorpej
dbba3dce54 update for changes to the ccd_softc. 1999-01-21 08:48:46 +00:00
thorpej
ea086c5c52 Update for changes to ccdvar.h 1999-01-12 00:22:00 +00:00
thorpej
f023958a87 CCDF_MIRROR is nuked from orbit. 1998-11-13 00:27:04 +00:00
ross
029a64cc29 from Erik Bertelsen <erik@mediator.uni-c.dk>
{ put } { in } { lots } { of } { these } { to } { shut } { up } { egcs }
1998-08-25 19:18:12 +00:00
msaitoh
7970137565 delete an obsolete usage 1998-08-10 18:03:04 +00:00
thorpej
6a3defb749 Remove the stats printing code. Now that the ccd driver uses the pool
allocator, there are no more stats that it keeps.
1998-07-31 01:34:20 +00:00
mrg
80efe80bc9 - change setgid kmem programs (that lend themselves to this) so setegid(getgid())
and the top, and then set the effective gid back to kmem around the call to
  kvm_openfiles().  this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
  kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places
1998-07-06 07:50:18 +00:00
mrg
3d7b0bedb6 use warn() properly. 1998-02-03 09:13:49 +00:00
mycroft
6ee0ed93a2 The output of `ccdconfig -g' is supposed to be a valid configuration file.
Prefix two messages with `# ' so they're comments.
1997-12-30 05:58:06 +00:00
mrg
464d5b30e5 reset the gid before calling fopen() on the config file. stops people
having read kmem access.  from rotel@indigo.ie (who obtained it from
openbsd).
1997-12-30 05:40:47 +00:00
thorpej
f4b569b12b Fix type problems on the Alpha. 1997-12-05 20:01:51 +00:00
lukem
93dfe82696 use fparseln() instead of fgets(), improve man page 1997-12-01 03:40:51 +00:00
lukem
f878db37e3 use Bl -column, fix .Nx usage 1997-11-24 06:27:01 +00:00
enami
28f842ad16 - Use .Nm "" instead of .Nm ccdconfig in SYNOPSYS.
- Delete the period at the end of ``SEE ALSO'' list.
1997-10-11 02:34:02 +00:00
lukem
76e13a0128 all but the first .Nm in SYNOPSIS need to be spelt out. [bin/4256] 1997-10-10 16:12:45 +00:00
lukem
2ddc10a0ab define WARNS?=1 for all of sbin/* 1997-09-15 12:45:47 +00:00
lukem
faceb6f3ac fix use of .Nm 1997-09-15 01:32:32 +00:00
lukem
12ad7a4d6c use memset instead of bzero 1997-09-14 08:39:43 +00:00
jtc
8c11c4ff0e Fix files using old TNF copyright notice 1997-07-31 00:11:51 +00:00
thorpej
a45e75a084 Clean up usage of __COPYRIGHT() macro. 1997-07-23 20:25:13 +00:00
thorpej
c832f759ea Case size_t to "long" for printing, and use %ld for the format. 1997-07-20 05:20:40 +00:00
thorpej
a24225a200 Build with WARNS. 1997-07-20 05:01:14 +00:00
thorpej
78af0e94b2 - Use __COPYRIGHT() and __RCSID().
- Fix compiler warnings.
1997-07-20 05:00:51 +00:00
mrg
3a9bd0a52a be safe with buffers. 1997-04-21 11:26:22 +00:00
thorpej
17aa7541b7 Add support to display the ccd-specific statistics kept by the ccd
driver.
1997-01-30 04:02:08 +00:00
thorpej
19ae2142e3 Discard setgid privelidges if not reading the running kernel, as suggested
in PR #2485 from Mike Grupenhoff <ashmir@umiacs.umd.edu>.
1996-06-06 23:34:39 +00:00
thorpej
8a5bb3e806 Use getmaxpartitions() and getrawpartition() from libutil, not homegrown
versions.
1996-05-16 07:11:17 +00:00
thorpej
ee8a2c002f Copyright assigned to The NetBSD Foundation. 1996-02-28 01:01:17 +00:00