freebsd-src/sbin
Rob Norris 2a87929671 bectl: log modifying functions to zpool history
Modeled directly after the method used by the zfs/zpool commands: flag
commands with a "please log me" flag, and when there, reconstruct the
command line. On success, call the library function to add it to the
log.

(Majority of the change by Rob; minor edits by kevans@)

Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Co-authored-by:	Kyle Evans <kevans@FreeBSD.org>
Sponsored by:	Modirum MDPay
Sponsored by:	Klara, Inc.
2025-12-17 11:00:47 -06:00
..
adjkerntz adjkerntz.8: minor cleanup (markup, spdx, reflow) 2024-07-29 14:06:06 -06:00
bectl bectl: log modifying functions to zpool history 2025-12-17 11:00:47 -06:00
bsdlabel bsdlabel: Bump removal to FreeBSD 16.0. 2025-10-28 09:08:30 -04:00
camcontrol cam/scsi: Add power condition support to START STOP UNIT 2025-12-01 04:40:52 +00:00
ccdconfig ccdconfig.8: Bump Dd for gvinum removal 2025-01-23 11:20:43 -05:00
clri Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
comcontrol tty: Retire zombie dtrwait 2025-09-02 23:18:09 -06:00
conscontrol Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
ddb Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
decryptcore Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
devd devd/snd.conf: Note that any command can be used for the action 2025-10-18 15:17:38 +02:00
devfs Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
devmatch devmatch: Catch truncated linker hints files 2024-10-23 22:12:45 +00:00
dhclient dhclient: improve UDP checksum handling 2025-09-10 17:19:23 +02:00
dmesg dmesg.8: Index kern.msgbuf_show_timestamp 2025-11-21 11:04:09 -05:00
dump Standardize the definition of a UFS dinode. 2025-01-27 17:39:45 -08:00
dumpfs Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
dumpon dumpon.8: use .Nm macro when refer to itself 2025-11-06 18:09:04 +00:00
etherswitchcfg Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
fdisk fdisk: Bump deprecated version in warning message as well 2025-10-24 12:37:14 -04:00
ffsinfo Remove references to gvinum(8) in various manpages 2025-01-23 13:16:47 -05:00
fsck Move mntopts(3) suppport into libutil 2025-04-22 22:51:42 +01:00
fsck_ffs fsck_ffs: garbage collect calcsb 2025-10-14 21:03:57 -07:00
fsck_msdosfs msdosfs manuals: Improve visibility and linking 2025-04-17 12:39:13 -04:00
fsdb sbin: Remove ancient SCCS tags. 2023-11-26 22:23:29 -07:00
fsirand Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
geom gpart: "gpart --libxo:JP list" duplicates attribute keys 2025-12-10 11:08:30 -07:00
ggate manuals: Fix "skipping end of block" .Ed errors 2024-10-03 14:49:23 -03:00
growfs growfs(8): use gpart(8) instead of bsdlabel(8) in test 2025-06-17 23:21:20 -08:00
hastctl Remove "All Rights Reserved" from FreeBSD Foundation copyrights 2024-07-30 12:16:36 -04:00
hastd hastd: Remove some now useless assertion 2025-09-17 14:16:05 +02:00
ifconfig ifconfig: print warning and return success on ipfw0, ipfwlog0 cloning 2025-12-15 13:17:23 -08:00
init init: Use root's home directory in single-user mode 2025-09-16 22:36:41 +02:00
ipf ipfilter: Prevent stack buffer overflow 2025-12-16 17:12:36 +01:00
ipfw ipfw: create a bpf tap point for every log rule 2025-12-15 13:17:23 -08:00
kldconfig sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
kldload Add kenv .Xr in kldload(8) and loader.conf(5) 2023-12-20 21:17:38 -07:00
kldstat kldstat: Memory zeroing using memset() 2025-07-18 09:30:52 -06:00
kldunload sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
ldconfig Canonicalize the name of the FreeBSD Foundation 2024-10-24 05:03:07 +08:00
md5 Update Makefile.depend files 2024-10-14 10:26:17 -07:00
mdconfig mdconfig_test: determine page size at run time rather than assuming 4k 2025-10-13 09:07:43 -07:00
mdmfs Ensure that soft updates are not enabled by default when using mdmfs(8) 2024-10-03 08:06:28 -07:00
mknod Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
mksnap_ffs mksnap_ffs: fix running unded chroot 2025-09-23 09:26:09 -07:00
mount mount.8: document nosymfollow option 2025-11-24 08:33:07 +00:00
mount_cd9660 Search for mntopts.h globally, not locally 2025-04-22 22:51:42 +01:00
mount_fusefs Replace last few remaining MAN[1-8] with MAN 2025-07-26 12:00:02 +02:00
mount_msdosfs Search for mntopts.h globally, not locally 2025-04-22 22:51:42 +01:00
mount_nfs Search for mntopts.h globally, not locally 2025-04-22 22:51:42 +01:00
mount_nullfs mount_nullfs.8: document unixbypass and nounixbypass 2025-10-10 01:48:01 +03:00
mount_udf Search for mntopts.h globally, not locally 2025-04-22 22:51:42 +01:00
mount_unionfs Search for mntopts.h globally, not locally 2025-04-22 22:51:42 +01:00
natd natd: Enable support for EIM NAT 2024-12-06 09:21:06 +00:00
newfs newfs: don't warn() when newfs'ing plain file 2025-06-03 08:50:58 -08:00
newfs_msdos newfs_msdos: Improve error messages 2025-11-09 22:02:09 -05:00
nfsiod Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
nos-tun sbin/nos-tun: correct SIOCDIFADDR calls to use ifreq 2024-07-22 09:58:37 +00:00
nvmecontrol nvmecontrol(8): Fix a typo in an error message 2025-10-26 16:08:31 +01:00
pfctl pfctl: report ICMP states consistently for IPv4/IPv6 2025-12-13 22:50:22 +01:00
pfilctl Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
pflogd Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
pflowctl Update Makefile.depend files 2024-10-14 10:26:17 -07:00
ping ipsec: Fix typos in references to IPsec's ESP 2025-12-04 16:17:12 +01:00
quotacheck Standardize the definition of a UFS dinode. 2025-01-27 17:39:45 -08:00
rcorder rcorder: Fix grammar in warning about loops 2025-10-08 12:07:01 +02:00
reboot reboot: Default to a clean shutdown 2025-12-10 15:45:57 +01:00
recoverdisk recoverdisk.1: Break lines at sentence stops 2025-09-24 14:47:56 +00:00
resolvconf Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
restore Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
route route: fix route -n monitor when its output is redirected 2025-07-17 12:17:01 -05:00
routed packages: move route(6)d to the rip package 2025-08-07 13:36:59 +01:00
rtsol Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
savecore manpages: prefer linking to xo_options.7 over xo_parse_args.3 2025-07-16 12:02:24 -06:00
setkey setkey(8): document -hwif extension 2024-08-25 17:46:09 +03:00
shutdown shutdown: Adapt to changes in reboot 2025-12-10 15:46:08 +01:00
swapon swapon: Improve tests for non-standard kernel page size and small media 2025-07-31 02:23:13 +02:00
sysctl sysctl_test: Print standard error if sysctl -ao fails 2025-07-08 12:56:00 +00:00
tests Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
tunefs Move mntopts(3) suppport into libutil 2025-04-22 22:51:42 +01:00
umbctl umb: Introduce the USB umb(4) network driver 2025-01-20 23:46:15 +00:00
umount manuals: Fix "unusual .Xr" warnings with a script 2024-10-15 17:18:14 -03:00
veriexec veriexec.8: Fix a typo in the manual page 2025-08-30 07:47:22 +02:00
zfsbootcfg zfsboot: Remove zfsboot(8) program used to boot ZFS from MBR + BIOS 2025-07-28 10:58:02 -04:00
Makefile gvinum(8): Remove userland tool for managing vinum volumes 2025-01-23 11:20:43 -05:00
Makefile.amd64 Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.arm Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.i386 Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.inc Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.powerpc64 Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00