Home | History | Annotate | Download | only in dkctl
History log of /src/sbin/dkctl/dkctl.c
RevisionDateAuthorComments
 1.27  14-Sep-2024  mlelstv Expose DIOCGMEDIASIZE, DIOCGSECTORSIZE with new getgeometry command.
 1.26  07-Jan-2018  kre branches: 1.26.16;

PR bin/52905

Document, and properly implement, the -q and -e options to dkctl xxN listwedges.
(implementation fix supplied by Petar Bogdanovic.)
 1.25  05-Apr-2017  jdolecek branches: 1.25.4;
write info about DKCACHE_FUA, DKCACHE_DPO in disk_getcache()
 1.24  10-Jan-2017  christos branches: 1.24.2;
missing <sys/stat.h>
 1.23  06-Jan-2016  wiz branches: 1.23.2;
Sort command list in usage.
 1.22  23-Nov-2014  christos - pass the proper argument vector so that subcommands can use getopt.
- add -q and -e for listwedges.
 1.21  04-Nov-2014  mlelstv Add 'makewedges' option to autodiscover wedges from a changed label.
 1.20  27-Aug-2011  joerg branches: 1.20.20;
staticfy. __dead.
 1.19  06-Aug-2011  dholland 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.
 1.18  02-Aug-2009  spz make dkctl conform to its man page and print the device name on addwedge
when the addition was successful (as well as indicating success).
 1.17  07-Feb-2009  uebayasi - 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.
 1.16  17-Jun-2006  christos branches: 1.16.4; 1.16.16; 1.16.28; 1.16.30; 1.16.32;
fix typo
 1.15  16-Jun-2006  elad strcpy -> strlcpy

okay christos
 1.14  17-Mar-2006  dsl Fix build breakage, split assignment and test for ease of reading.
 1.13  17-Mar-2006  rumble Check for allocation failures in malloc, calloc, realloc, asprintf, and
vasprintf and try to handle them.
 1.12  26-Dec-2005  yamt add a functionality to get/switch bufq strategy.
based on a patch from Juan RP.
 1.11  20-Jan-2005  xtraeme ANSIfy; WARNS=3
 1.10  28-Sep-2004  martin Use PRI* format strings to print 64 bit data types.
 1.9  25-Sep-2004  thorpej Add commands to create, delete, and query the configuration of wedges.
 1.8  05-Jan-2004  jmmv Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
 1.7  23-Jun-2003  agc Add NetBSD RCS Ids.
 1.6  16-Apr-2003  martin 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.
 1.5  16-Apr-2003  dsl Fix printf formats and kill unused variable to make it compile
 1.4  15-Apr-2003  darrenr Don't forget to increment the iterator when going around a loop
 1.3  15-Apr-2003  darrenr 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.
 1.2  01-Jul-2002  yamt add a new command, "keeplabel".
 1.1  09-Jan-2002  thorpej dkctl(8) -- a program to manupulate disks. It currently supports
the disk cache-related ioctls.
 1.16.32.1  21-Apr-2010  matt sync to netbsd-5
 1.16.30.1  14-Aug-2009  snj Pull up following revision(s) (requested by spz in ticket #887):
sbin/dkctl/dkctl.c: revision 1.18
make dkctl conform to its man page and print the device name on addwedge
when the addition was successful (as well as indicating success).
 1.16.28.1  14-Aug-2009  snj Pull up following revision(s) (requested by spz in ticket #887):
sbin/dkctl/dkctl.c: revision 1.18
make dkctl conform to its man page and print the device name on addwedge
when the addition was successful (as well as indicating success).
 1.16.16.1  18-Aug-2009  bouyer Pull up following revision(s) (requested by spz in ticket #1350):
sbin/dkctl/dkctl.c: revision 1.18
sbin/dkctl/dkctl.8: revision 1.19
list the partition types addwedge understands, so you don't need to utsl
to find out what strings to use here
fixes PR 37252
make dkctl conform to its man page and print the device name on addwedge
when the addition was successful (as well as indicating success).
 1.16.4.1  18-Aug-2009  bouyer Pull up following revision(s) (requested by spz in ticket #1350):
sbin/dkctl/dkctl.c: revision 1.18
sbin/dkctl/dkctl.8: revision 1.19
list the partition types addwedge understands, so you don't need to utsl
to find out what strings to use here
fixes PR 37252
make dkctl conform to its man page and print the device name on addwedge
when the addition was successful (as well as indicating success).
 1.20.20.1  11-Nov-2014  martin Pull up following revision(s) (requested by mlelstv in ticket #201):
sbin/dkctl/dkctl.8: revision 1.24
sbin/dkctl/dkctl.8: revision 1.25
sys/dev/scsipi/sd.c: revision 1.310
sys/dev/ata/wd.c: revision 1.415
sbin/dkctl/dkctl.c: revision 1.21
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.315
sys/dev/ld.c: revision 1.78
sys/dev/vnd.c: revision 1.234
sys/dev/dksubr.c: revision 1.54
sys/sys/dkio.h: revision 1.20
sys/dev/dkwedge/dk.c: revision 1.74
Add ioctl to autodiscover wedges.
Implement DIOCMWEDGES ioctl that triggers wedge autodiscovery.
Also fix a reference counting bug and clean up some code.
support DIOCMWEDGES ioctl.
Add 'makewedges' option to autodiscover wedges from a changed label.
New sentence, new line. Bump date for previous.
 1.23.2.2  26-Apr-2017  pgoyette Sync with HEAD
 1.23.2.1  20-Mar-2017  pgoyette Sync with HEAD
 1.24.2.1  21-Apr-2017  bouyer Sync with HEAD
 1.25.4.1  11-Apr-2018  martin Pull up following revision(s) (requested by kre in ticket #737):

sbin/dkctl/dkctl.8: revision 1.27
sbin/dkctl/dkctl.8: revision 1.28
sbin/dkctl/dkctl.c: revision 1.26

PR bin/52905

Document, and properly implement, the -q and -e options to dkctl xxN listwedges.
(implementation fix supplied by Petar Bogdanovic.)

Bump date for previous.
 1.26.16.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed