Commit Graph

20 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
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
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
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
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
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
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
thorpej 0e37eeed2c Add commands to create, delete, and query the configuration of wedges. 2004-09-25 03:31:35 +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
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
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 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
yamt e9ae5a9bbd add a new command, "keeplabel". 2002-07-01 18:49:57 +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