freebsd-dev/tools/tools
Toomas Soome e307eb94ae loader: zfs should support bootonce an nextboot
bootonce feature is temporary, one time boot, activated by
"bectl activate -t BE", "bectl activate -T BE" will reset the bootonce flag.

By default, the bootonce setting is reset on attempt to boot and the next
boot will use previously active BE.

By setting zfs_bootonce_activate="YES" in rc.conf, the bootonce BE will
be set permanently active.

bootonce dataset name is recorded in boot pool labels, bootenv area.

in case of nextboot, the nextboot_enable boolean variable is recorded in
freebsd:nvstore nvlist, also stored in boot pool label bootenv area.
On boot, the loader will process /boot/nextboot.conf if nextboot_enable
is "YES", and will set nextboot_enable to "NO", preventing /boot/nextboot.conf
processing on next boot.

bootonce and nextboot features are usable in both UEFI and BIOS boot.

To use bootonce/nextboot features, the boot loader needs to be updated on disk;
if loader.efi is stored on ESP, then ESP needs to be updated and
for BIOS boot, stage2 (zfsboot or gptzfsboot) needs to be updated
(gpart or other tools).

At this time, only lua loader is updated.

Sponsored by:	Netflix, Klara Inc.
Differential Revision:	https://reviews.freebsd.org/D25512
2020-09-21 09:01:10 +00:00
..
aac
ansify
ath [ath] Flip athratestats to use two columns for now. 2020-05-16 18:49:37 +00:00
atsectl
bootparttest Move sys/boot to stand. Fix all references to new location 2017-11-14 23:02:19 +00:00
build_option_survey Increase size of working imgfile from 250MB to 4GB 2018-09-07 15:52:20 +00:00
cd2dvd Update several more URLs 2017-10-29 08:17:03 +00:00
cfi
commitsdb
crypto Expand coverage of different buffer sizes. 2020-05-25 23:04:18 +00:00
cxgbtool General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
decioctl Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
dmardump Add a dmardump utility to dump the VT-d context tables. 2016-08-09 19:06:05 +00:00
drm Revert drm2 removal. 2018-08-24 00:02:00 +00:00
editing
epfe
ether_reflect
fetchbench Add fetchbench, a trivial HTTP benchmark based on fetch(1). 2017-11-02 12:09:18 +00:00
find-sb
fixwhite
gdb_regofs
genericize
gensnmpdef Mention that ports/net-mgmt/libsmi is required 2019-11-02 10:14:15 +00:00
git Regularize my copyright notice 2019-12-04 16:56:11 +00:00
hcomp
html-mv
ifinfo
ifpifa
indent_wrapper
intel-ucode-split intel-ucode-split: add -n flag to skip creating output files 2018-05-22 14:35:33 +00:00
ioat ioatcontrol(8) crc-copy flag bug and misc usage tweak 2019-04-09 10:33:18 +00:00
ipw
iso
iwi
iwn
kdrv
kernelcruft
kerninclude Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
kernxref SPDX: use the Beerware identifier. 2017-11-30 20:33:45 +00:00
kttcp
locale - Update to Unicode CLDR v35 (Unicode 12.0). 2020-08-15 07:19:37 +00:00
makeroot revert r302146: makeroot: zero out subsecond component of time= keywords 2019-03-27 17:28:23 +00:00
man add script to help figure out what man pages need MLINKS updated... 2020-07-16 23:05:18 +00:00
mcgrab
mctest
mfi
mid
mtxstat
mwl
nanobsd Add extremely useful calendar(1) application to FreeBSD 2020-03-03 00:20:08 +00:00
ncpus
net80211 [wlanstats] Add the per-node amsdu hardware decap'ed receive stats. 2020-06-12 06:10:27 +00:00
netmap add valectl to the system commands 2019-10-31 21:01:34 +00:00
netrate Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
notescheck
npe
pciroms
perforce
pirtool General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
portsinfo Update several more URLs 2017-10-29 08:17:03 +00:00
qrndtest
release
scsi-defects
shlib-compat
sortbench Add sortbench. 2018-04-19 21:53:57 +00:00
switch_tls Add kernel-side support for in-kernel TLS. 2019-08-27 00:01:56 +00:00
sysbuild Make distribution now happens from top of source tree. 2018-08-10 06:28:25 +00:00
syscall_timing Add benchmarks for lstat(2) and readlink(2). 2018-11-07 11:46:12 +00:00
sysdoc Remove the Yarrow PRNG algorithm option in accordance with due notice 2018-08-26 12:51:46 +00:00
termcap
tinybsd gc pmtimer and apm 2020-08-31 19:47:30 +00:00
tionxcl
track
tscdrift
umastat Fix build of tools/tools/umastat. 2017-04-26 17:58:10 +00:00
usb
usbtest DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
vhba
vimage
vop_table
vt Move font related data structured to sys/font.c and update vtfontcvt 2020-06-14 06:58:58 +00:00
whereintheworld
wtap
zfsboottest loader: zfs should support bootonce an nextboot 2020-09-21 09:01:10 +00:00
README add script to help figure out what man pages need MLINKS updated... 2020-07-16 23:05:18 +00:00

# $FreeBSD$

This directory is for tools.

A tool is something which is sometimes useful, and doesn't fit any of
the other categories.

Please make a subdir per program, and add a brief description to this
file.

ansify		Convert K&R-style function definitions to ANSI style
ath		Tools specific to the Atheros 802.11 support
cfi		Common Flash Interface (CFI) tool
commitsdb	A tool for reconstructing commit history using md5
		checksums of the commit logs.
crypto		Test and exercise tools related to the crypto framework
cxgbetool	A tool for the cxgbe(4) driver.
cxgbtool	A tool for the cxgb(4) driver.
drm		Tools specific to the DRM/KMS device drivers.
editing		Editor modes and the like to help editing FreeBSD code.
epfe 		Extract printing filter examples from printing.sgml.
ether_reflect	An Ethernet packet reflector for low level testing.
find-sb		Scan a disk for possible filesystem superblocks.
gdb_regofs	A simple tool that prints out a register offset table
		for mapping gdb(1) register numbers to struct reg and
		struct fpreg offsets. The tool is useful on selected
		platforms only.
genericize	Turn a kernel config into something that can more easily
		be diffed against the appropriate GENERIC.
git		Tools to simplify the use of git by committers.
hcomp		Compress header files by removing comments and whitespace.
html-mv         Rename HTML generated filenames to human readable filenames.
ifinfo		Uses the interface MIB to print out all the information
		an interface exports in an ugly form.
indent_wrapper	Tool for style(9) checking SVN/GIT patches.
intel-ucode-split Tool to split Intel microcode into individual files.
iso             Tool to compare the iso3166 and iso639 files in
		/usr/share/misc with the data from the master sites.
iwi		Tools specific to the Intel PRO/Wireless 2200BG/2225BG/2915ABG
		support.
kdrv		KernelDriver; add/list/remove third-party kernel driver
		source to/in/from a kernel source tree.
kernelcruft	Shellscript to find orphaned *.c files in /sys
kerninclude	Shellscript to find unused #includes in the kernel.
kernxref	Shellscript to cross reference symbols in the LINT kernel.
kttcp		An in-kernel version of the ttcp network performance tool
man		Scripts useful for working on man pages.
mctest		A multicast test program
mid	 	Create a Message-ID database for mailing lists.
mwl		Tools specific to the Marvell 88W8363 support
ncpus		Count the number of processors
netmap		Test applications for netmap(4)
notescheck	Check for missing devices and options in NOTES files.
npe		Tools specific to the Intel IXP4XXX NPE device
pciid		Generate src/share/misc/pci_vendors.
pciroms		A tool for dumping PCI ROM images. WARNING: alpha quality.
pirtool		A tool for dumping the $PIR table on i386 machines at runtime.
portsinfo 	Generate list of new ports for last two weeks.
scsi-defects	Get at the primary or grown defect list of a SCSI disk.
sysdoc		Build a manual page with available sysctls for a specific
		kernel configuration.
tinybsd		Script to build FreeBSD embedded systems.
track		Track the progress of a world / kernel build
vimage		An interim utility for managing the virtualized network
		stack infrastructure.
vop_table	Generates a HTML document that shows all the VOP's in
		the kernel.
whereintheworld	Summarizes "make world" output.