Commit Graph

41 Commits

Author SHA1 Message Date
joerg 307d355803 staticfy. __dead. 2011-08-27 16:34:38 +00:00
dholland f8a6ea099c Use explicit cast instead of -Wno-pointer-sign. The site in question is
already marked XXX so there's not much point in whitewashing it.
2011-08-06 16:34:40 +00:00
mrg 75e42fa7da remove most of the remaining HAVE_GCC tests that are always true in
the modern world.
2011-06-20 07:43:56 +00:00
wiz a5d0318667 Use Nm. Bump date for previous. 2011-01-04 23:29:51 +00:00
spz 570cdc45bf add notes what 'device' is and also rub in that addwedge doesn't
create stuff on disk a bit more.
2011-01-04 21:42:10 +00:00
wiz 8d31c36840 Mention that dkctl(8) does not modify on-disk data, and add xrefs to
fdisk(8) and gpt(8). Bump date.
2010-05-18 23:33:03 +00:00
wiz e28fde3845 Bump date for previous. Add comma in enumeration. Use Pp for paragraph
separation.
2009-08-02 22:49:08 +00:00
spz 18f2bbe96d make dkctl conform to its man page and print the device name on addwedge
when the addition was successful (as well as indicating success).
2009-08-02 18:16:08 +00:00
spz 5ef5d44599 list the partition types addwedge understands, so you don't need to utsl
to find out what strings to use here
fixes PR 37252
2009-07-30 05:54:43 +00:00
uebayasi b9691b268f - Display cache, strategy, and list of wedges if no command is specified in
the command line.
- Sort list of wedges.

Posted on tech-userlevel a while ago, no objections then.
2009-02-07 17:13:32 +00:00
gmcgarry 3c9a95916d Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC. 2008-08-29 00:02:21 +00:00
christos ea14c28779 fix typo 2006-06-17 02:16:19 +00:00
elad 70e875f636 strcpy -> strlcpy
okay christos
2006-06-16 23:49:22 +00:00
mrg aadd7d4847 sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4. 2006-05-11 23:16:28 +00:00
dsl 87f04837fb Fix build breakage, split assignment and test for ease of reading. 2006-03-17 19:18:33 +00:00
rumble e948e1b17f Check for allocation failures in malloc, calloc, realloc, asprintf, and
vasprintf and try to handle them.
2006-03-17 15:53:46 +00:00
wiz 2c45f40c22 Improve description of strategy command a bit.
Increase list width a bit for less unnecessary line breaks.
2006-01-12 20:28:29 +00:00
yamt 6171bf3a5b add a functionality to get/switch bufq strategy.
based on a patch from Juan RP.
2005-12-26 10:38:52 +00:00
christos 2c6eadc9ce Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
programs that did not compile before.
2005-06-27 01:00:04 +00:00
xtraeme 6d580415e4 ANSIfy; WARNS=3 2005-01-20 15:53:35 +00:00
martin bafafd830d Use PRI* format strings to print 64 bit data types. 2004-09-28 10:01:42 +00:00
wiz 76b7f3faf9 Improve formatting. 2004-09-25 12:44:25 +00:00
snj b7fd6fcc52 Bump date for last. 2004-09-25 04:00:49 +00:00
thorpej 0e37eeed2c Add commands to create, delete, and query the configuration of wedges. 2004-09-25 03:31:35 +00:00
erh 4ed261aea9 Add a couple cross-references to make similar ctl commands easier to find. 2004-09-16 18:02:27 +00:00
wiz ef90a2a4b4 Bump date for improved bad sector
description.
2004-08-30 12:53:30 +00:00
drochner afa0d914f3 mention that the "badsector" subcommend depends on the WD_BADSECTOR
kernel option
2004-08-30 09:38:28 +00:00
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
lukem 6a52ab7b0e also reference disklabel(5) 2003-07-13 09:53:10 +00:00
agc c2a3b5ec84 Add NetBSD RCS Ids. 2003-06-23 11:53:35 +00:00
martin eb1ff84c33 Until timeval.tv_sec becomes a time_t, we can't pass a pointer to
it to ctime(). tv_sec is long, while time_t is int on some archs.
2003-04-16 13:32:58 +00:00
wiz 037dbec1f7 New sentence, new line. 2003-04-16 13:05:01 +00:00
wiz 77c7ae1259 Drop superfluous .Pp; bump date for last. 2003-04-16 13:04:27 +00:00
dsl 1608697b9e Fix printf formats and kill unused variable to make it compile 2003-04-16 08:39:56 +00:00
darrenr 8745a98a43 Don't forget to increment the iterator when going around a loop 2003-04-15 19:07:37 +00:00
darrenr 543eb62ec5 Add a note to "retry" option about device requirements. 2003-04-15 18:39:58 +00:00
darrenr 8dac8843a5 Implement (and document!) "dkctl <dev> badsector .." to `manage' the bad
sector information in the kernel.  Doing this uncovered some shortcomings
that should have been pretty obvious with the code committed prior, addressing
the major kludge with a new struct - disk_bacsecinfo to be passed into
DIOCBSLIST.
2003-04-15 18:27:26 +00:00
wiz 2fb4b1db52 New sentence, new line. By Robert Elz with minimal fixes. 2002-10-01 13:40:23 +00:00
yamt e9ae5a9bbd add a new command, "keeplabel". 2002-07-01 18:49:57 +00:00
wiz 6220b41f40 Grammar fix, and drop a trailing comma in SEE ALSO section. 2002-01-09 23:10:19 +00:00
thorpej fcc3de9c40 dkctl(8) -- a program to manupulate disks. It currently supports
the disk cache-related ioctls.
2002-01-09 22:30:14 +00:00