NetBSD/sbin
thorpej ef731d9e00 - Add a new DRVCTLCOMMAND ioctl to /dev/drvctl. This is a generic
"execute a command" ioctl that takes a dictionary as an argument
  (specifying the command and arguments) and returns a dictionary
  with the results (error code, optional error message, optional
  result data).

- Define and implement a "get-properties" command for DRVCTLCOMMAND
  that returns the properties dictionary of the specified device.

- Add a -p flag to drvctl(8) to fetch and display the properties of
  the specified device.

This is a great example of how to use prop_dictionary_sendrecv_ioctl().
2006-09-22 04:37:36 +00:00
..
amrctl Drop trailing whitespace. 2006-07-23 13:23:12 +00:00
atactl sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4. 2006-05-11 23:16:28 +00:00
badsect Move WARNS=3 to the Makefile.inc, and add a little const to the remaining 2005-06-27 01:00:04 +00:00
bim One "const" is enough... 2006-09-04 01:20:44 +00:00
brconfig Coverity CID 774: Don't increment a pointer *before* testing it for NULL! 2006-03-20 01:06:07 +00:00
ccdconfig Delete an obvious free(NULL) pointed out by erh. 2006-03-20 22:44:25 +00:00
cgdconfig Programs that use efun. 2006-08-26 18:14:28 +00:00
chkconfig Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
clri sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4. 2006-05-11 23:16:28 +00:00
disklabel New NetBSD/landisk port uses MBR too. 2006-09-01 21:44:02 +00:00
dkctl fix typo 2006-06-17 02:16:19 +00:00
dmesg Make is worthwhile haveing #ifdef SMALL by making the Makefile set it when 2005-09-05 20:56:41 +00:00
drvctl - Add a new DRVCTLCOMMAND ioctl to /dev/drvctl. This is a generic 2006-09-22 04:37:36 +00:00
dump Change LFCNWRAP{STOP,GO} to make them more suitable for snapshotting; in 2006-06-24 05:28:54 +00:00
dump_lfs Use Dv for a macro; new sentence, new line. 2006-06-24 07:57:07 +00:00
edlabel Allow this to build under -Wcast-qual -Werror by adding const to a few 2005-06-28 18:14:45 +00:00
fastboot Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 10:04:11 +00:00
fdisk Support MAKEVERBOSE. 2006-06-28 15:03:00 +00:00
fsck add a const 2006-08-27 09:20:53 +00:00
fsck_ext2fs Programs that use efun. 2006-08-26 18:14:28 +00:00
fsck_ffs - Deal with wedges and the new disk geometry structures, instead of using 2006-08-26 22:03:47 +00:00
fsck_lfs Several fixes to improve the reliability of the roll-forward agent. 2006-09-01 19:52:48 +00:00
fsck_msdos Programs that use efun. 2006-08-26 18:14:28 +00:00
fsdb need getdiskinfo. 2006-08-27 01:37:28 +00:00
fsirand Move WARNS=3 to the Makefile.inc, and add a little const to the remaining 2005-06-27 01:00:04 +00:00
ifconfig Fix typo, noted by Nino Dehne <ndehne@gmail.com> 2006-09-16 20:15:49 +00:00
init Remove securelevel-related text from init(8) man-page as they're now in 2006-09-15 20:20:06 +00:00
ldconfig Coverity CID 2766: Don't leak memory. 2006-03-26 23:06:45 +00:00
mbrlabel Grammar fix. 2006-01-12 20:37:23 +00:00
mknod fix setmode error handling. 2005-10-01 20:23:54 +00:00
modload Replace complicated test for ELFSIZE 64 with #ifdef _LP64 which is 2006-07-08 05:49:01 +00:00
modunload Move WARNS=3 to the Makefile.inc, and add a little const to the remaining 2005-06-27 01:00:04 +00:00
mount since yamt prohibits any flag with MNT_GETARGS, don't set MNT_UPDATE for 2006-05-04 19:38:50 +00:00
mount_ados Always check the results of getmntopts() and free them. 2006-03-21 21:11:41 +00:00
mount_cd9660 Always check the results of getmntopts() and free them. 2006-03-21 21:11:41 +00:00
mount_ext2fs Always check the results of getmntopts() and free them. 2006-03-21 21:11:41 +00:00
mount_fdesc Always check the results of getmntopts() and free them. 2006-03-21 21:11:41 +00:00
mount_ffs Always check the results of getmntopts() and free them. 2006-03-21 21:11:41 +00:00
mount_filecore Always check the results of getmntopts() and free them. 2006-03-21 21:11:41 +00:00
mount_kernfs Always check the results of getmntopts() and free them. 2006-03-21 21:11:41 +00:00
mount_lfs Always check the results of getmntopts() and free them. 2006-03-21 21:11:41 +00:00
mount_msdos Always check the results of getmntopts() and free them. 2006-03-21 21:11:41 +00:00
mount_nfs Replace strcpy() call with strlcpy() call. 2006-07-07 17:25:01 +00:00
mount_ntfs Always check the results of getmntopts() and free them. 2006-03-21 21:11:41 +00:00
mount_null Always check the results of getmntopts() and free them. 2006-03-21 21:11:41 +00:00
mount_overlay Always check the results of getmntopts() and free them. 2006-03-21 21:11:41 +00:00
mount_portal change (mostly) int to socklen_t. GCC 4 doesn't like that int and 2006-05-09 20:18:05 +00:00
mount_procfs Always check the results of getmntopts() and free them. 2006-03-21 21:11:41 +00:00
mount_ptyfs Always check the results of getmntopts() and free them. 2006-03-21 21:11:41 +00:00
mount_smbfs sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4. 2006-05-11 23:16:28 +00:00
mount_sysvbfs Always check the results of getmntopts() and free them. 2006-03-21 21:11:41 +00:00
mount_tmpfs remove __POOL_EXPOSE. 2006-05-27 09:14:03 +00:00
mount_udf Always check the results of getmntopts() and free them. 2006-03-21 21:11:41 +00:00
mount_umap Always check the results of getmntopts() and free them. 2006-03-21 21:11:41 +00:00
mount_union Always check the results of getmntopts() and free them. 2006-03-21 21:11:41 +00:00
newbtconf .An -nosplit 2005-09-30 20:18:12 +00:00
newfs Make the "traditional" comment match reality. 2006-08-27 18:49:08 +00:00
newfs_lfs Deal with wedges and the new disk geometry structures, instead of using 2006-09-05 19:44:44 +00:00
newfs_msdos Coverity CID 830: Fix dead code issue 2006-05-25 15:32:17 +00:00
newfs_sysvbfs sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4. 2006-05-11 23:16:28 +00:00
nologin Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 10:04:22 +00:00
pdisk Move WARNS=3 to the Makefile.inc, and add a little const to the remaining 2005-06-27 01:00:04 +00:00
ping prtsig: remove a mysterious abort(). 2006-07-14 05:43:49 +00:00
ping6 Replace the way we calculate the standard deviation with the unbiased form 2006-05-18 02:14:22 +00:00
pppoectl Check for allocation failures in malloc, calloc, realloc, asprintf, and 2006-03-17 15:53:46 +00:00
raidctl close fp in several error paths, closing Coverity CIDs 1690, 1692. 2006-03-19 01:57:11 +00:00
rcorder Programs that use efun. 2006-08-26 18:14:28 +00:00
reboot Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 10:04:22 +00:00
resize_ffs Fix a typo in a comment. 2005-06-03 03:34:44 +00:00
resize_lfs include <bsd.own.mk>. From Geoff Wing on source-changes. 2006-09-07 23:53:41 +00:00
restore sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4. 2006-05-11 23:16:28 +00:00
rndctl Move WARNS=3 to the Makefile.inc, and add a little const to the remaining 2005-06-27 01:00:04 +00:00
route remove more vestiges of CCITT, LLC, HDLC, NS, and NSIP. 2006-09-07 02:40:31 +00:00
routed quell GCC 4.1 uninitialised variable warnings. 2006-05-10 21:53:14 +00:00
rtsol rtsol: factor out dump.c if -DSMALL (for boot floppy) 2004-01-03 01:40:31 +00:00
savecore accept either "time_second" or "time" as kernel timevariable in 2006-07-09 06:43:16 +00:00
scan_ffs Sort options in usage and SYNOPSIS. 2006-09-10 20:28:52 +00:00
scsictl Move WARNS=3 to the Makefile.inc, and add a little const to the remaining 2005-06-27 01:00:04 +00:00
setkey Redo previous rework to generate yacc/lex output again and remove generated 2005-12-16 16:25:07 +00:00
shutdown PR/31531: Takahiro Kambe: shutdown(8) quietly exit if execed from login shell 2006-03-07 22:19:55 +00:00
slattach Misc fixes for sl(4) and slattach(8) man pages: 2006-07-08 17:22:14 +00:00
swapctl Sort sections. Fix typo. Start sentence with upper-case letter. 2006-09-02 23:58:41 +00:00
sysctl Import of TCP ECN algorithm for congestion control. 2006-09-05 00:29:35 +00:00
ttyflags Move WARNS=3 to the Makefile.inc, and add a little const to the remaining 2005-06-27 01:00:04 +00:00
tunefs Move WARNS=3 to the Makefile.inc, and add a little const to the remaining 2005-06-27 01:00:04 +00:00
umount Izumi Tsutsui pointed out that we don't need vfslist.c (from ../mount) 2006-01-21 11:59:53 +00:00
veriexecctl .Sh -> .Ss 2006-09-17 13:03:02 +00:00
wdogctl Add -x to usage. 2006-08-13 23:24:53 +00:00
wsconsctl Mark splash.enable and splash.progress write-only, there are no ioctls 2006-08-13 23:52:11 +00:00
Makefile Add a /dev/amr* control file for amr(4) devices, which allows sending raw 2006-07-23 12:01:25 +00:00
Makefile.inc Move WARNS=3 to the Makefile.inc, and add a little const to the remaining 2005-06-27 01:00:04 +00:00