| History log of /src/sbin/dkctl |
| Revision | Date | Author | Comments |
| 1.7 | 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.6 | 20-Jun-2011 |
mrg | remove most of the remaining HAVE_GCC tests that are always true in the modern world.
|
| 1.5 | 29-Aug-2008 |
gmcgarry | branches: 1.5.16; Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.
|
| 1.4 | 11-May-2006 |
mrg | branches: 1.4.20; 1.4.24; sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.
|
| 1.3 | 27-Jun-2005 |
christos | Move WARNS=3 to the Makefile.inc, and add a little const to the remaining programs that did not compile before.
|
| 1.2 | 20-Jan-2005 |
xtraeme | ANSIfy; WARNS=3
|
| 1.1 | 09-Jan-2002 |
thorpej | dkctl(8) -- a program to manupulate disks. It currently supports the disk cache-related ioctls.
|
| 1.4.24.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.4.20.1 | 28-Sep-2008 |
mjf | Sync with HEAD.
|
| 1.5.16.1 | 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
| 1.30 | 14-Sep-2024 |
mlelstv | Expose DIOCGMEDIASIZE, DIOCGSECTORSIZE with new getgeometry command.
|
| 1.29 | 30-Mar-2020 |
wiz | branches: 1.29.8; Teach dk(4) about ZFS.
"looks ok" mlelstv
|
| 1.28 | 07-Jan-2018 |
wiz | branches: 1.28.4; Bump date for previous.
|
| 1.27 | 07-Jan-2018 |
kre | PR bin/52905
Document, and properly implement, the -q and -e options to dkctl xxN listwedges. (implementation fix supplied by Petar Bogdanovic.)
|
| 1.26 | 06-Jan-2016 |
wiz | branches: 1.26.8; Sort commands so I can find stuff.
|
| 1.25 | 05-Nov-2014 |
wiz | New sentence, new line. Bump date for previous.
|
| 1.24 | 04-Nov-2014 |
mlelstv | Add 'makewedges' option to autodiscover wedges from a changed label.
|
| 1.23 | 04-Jan-2011 |
wiz | branches: 1.23.24; Use Nm. Bump date for previous.
|
| 1.22 | 04-Jan-2011 |
spz | add notes what 'device' is and also rub in that addwedge doesn't create stuff on disk a bit more.
|
| 1.21 | 18-May-2010 |
wiz | Mention that dkctl(8) does not modify on-disk data, and add xrefs to fdisk(8) and gpt(8). Bump date.
|
| 1.20 | 02-Aug-2009 |
wiz | Bump date for previous. Add comma in enumeration. Use Pp for paragraph separation.
|
| 1.19 | 30-Jul-2009 |
spz | list the partition types addwedge understands, so you don't need to utsl to find out what strings to use here fixes PR 37252
|
| 1.18 | 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.17 | 12-Jan-2006 |
wiz | branches: 1.17.4; 1.17.16; 1.17.28; 1.17.30; 1.17.32; Improve description of strategy command a bit. Increase list width a bit for less unnecessary line breaks.
|
| 1.16 | 26-Dec-2005 |
yamt | add a functionality to get/switch bufq strategy. based on a patch from Juan RP.
|
| 1.15 | 25-Sep-2004 |
wiz | Improve formatting.
|
| 1.14 | 25-Sep-2004 |
snj | Bump date for last.
|
| 1.13 | 25-Sep-2004 |
thorpej | Add commands to create, delete, and query the configuration of wedges.
|
| 1.12 | 16-Sep-2004 |
erh | Add a couple cross-references to make similar ctl commands easier to find.
|
| 1.11 | 30-Aug-2004 |
wiz | Bump date for improved bad sector description.
|
| 1.10 | 30-Aug-2004 |
drochner | mention that the "badsector" subcommend depends on the WD_BADSECTOR kernel option
|
| 1.9 | 13-Jul-2003 |
lukem | also reference disklabel(5)
|
| 1.8 | 16-Apr-2003 |
wiz | New sentence, new line.
|
| 1.7 | 16-Apr-2003 |
wiz | Drop superfluous .Pp; bump date for last.
|
| 1.6 | 15-Apr-2003 |
darrenr | Add a note to "retry" option about device requirements.
|
| 1.5 | 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.4 | 01-Oct-2002 |
wiz | New sentence, new line. By Robert Elz with minimal fixes.
|
| 1.3 | 01-Jul-2002 |
yamt | add a new command, "keeplabel".
|
| 1.2 | 09-Jan-2002 |
wiz | Grammar fix, and drop a trailing comma in SEE ALSO section.
|
| 1.1 | 09-Jan-2002 |
thorpej | dkctl(8) -- a program to manupulate disks. It currently supports the disk cache-related ioctls.
|
| 1.17.32.1 | 21-Apr-2010 |
matt | sync to netbsd-5
|
| 1.17.30.1 | 14-Aug-2009 |
snj | Pull up following revision(s) (requested by spz in ticket #887): sbin/dkctl/dkctl.8: revision 1.19, 1.20 list the partition types addwedge understands, so you don't need to utsl to find out what strings to use here fixes PR 37252
|
| 1.17.28.1 | 14-Aug-2009 |
snj | Pull up following revision(s) (requested by spz in ticket #887): 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
|
| 1.17.16.2 | 18-Aug-2009 |
bouyer | Pull up following revision(s) (requested by spz in ticket #1350): sbin/dkctl/dkctl.8: revision 1.20 Bump date for previous. Add comma in enumeration. Use Pp for paragraph separation.
|
| 1.17.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.17.4.2 | 18-Aug-2009 |
bouyer | Pull up following revision(s) (requested by spz in ticket #1350): sbin/dkctl/dkctl.8: revision 1.20 Bump date for previous. Add comma in enumeration. Use Pp for paragraph separation.
|
| 1.17.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.23.24.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.26.8.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.28.4.1 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.29.8.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
| 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
|