<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/sbin/bectl/bectl.8, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2020-09-21T09:01:10Z</updated>
<entry>
<title>loader: zfs should support bootonce an nextboot</title>
<updated>2020-09-21T09:01:10Z</updated>
<author>
<name>Toomas Soome</name>
<email>tsoome@FreeBSD.org</email>
</author>
<published>2020-09-21T09:01:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=e307eb94ae520d98dc1d346a0c53667a41beab5d'/>
<id>urn:sha1:e307eb94ae520d98dc1d346a0c53667a41beab5d</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Comment out TODO notes from bectl(8) manual page</title>
<updated>2020-08-17T08:43:36Z</updated>
<author>
<name>Mateusz Piotrowski</name>
<email>0mp@FreeBSD.org</email>
</author>
<published>2020-08-17T08:43:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d61057562aaad0dec1520647cef727f302709b2a'/>
<id>urn:sha1:d61057562aaad0dec1520647cef727f302709b2a</id>
<content type='text'>
MFC after:	2 days
</content>
</entry>
<entry>
<title>Remove an unnecessary macro</title>
<updated>2020-08-17T08:24:50Z</updated>
<author>
<name>Mateusz Piotrowski</name>
<email>0mp@FreeBSD.org</email>
</author>
<published>2020-08-17T08:24:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=55b954c6285a8da31154fd31c03d978c5d4ff876'/>
<id>urn:sha1:55b954c6285a8da31154fd31c03d978c5d4ff876</id>
<content type='text'>
MFC after:	2 days
</content>
</entry>
<entry>
<title>bectl.8: correctly sort SEE ALSO section after 360078</title>
<updated>2020-04-19T01:43:59Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2020-04-19T01:43:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=cb67aaf20c2ddd5a044a030835845e2d15350aea'/>
<id>urn:sha1:cb67aaf20c2ddd5a044a030835845e2d15350aea</id>
<content type='text'>
Reported by:	yuripv
MFC after:	2 weeks
MFC with:	360078
</content>
</entry>
<entry>
<title>bectl.8, beinstall.sh.8: fix man page section of beinstall.sh</title>
<updated>2020-04-18T19:53:47Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2020-04-18T19:53:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=27586155ace4df0c7322189d74f901ceccc027ab'/>
<id>urn:sha1:27586155ace4df0c7322189d74f901ceccc027ab</id>
<content type='text'>
Reported by:	phk
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Drop "All Rights Reserved" from all libbe/bectl files</title>
<updated>2020-01-24T02:18:09Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-01-24T02:18:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=6966ac055c3b7a39266fb982493330df7a097997'/>
<id>urn:sha1:6966ac055c3b7a39266fb982493330df7a097997</id>
<content type='text'>
I sent out an e-mail on 2020/01/21 with a plan to do this to Kyle, Rob, and
Wes; all parties have responded in the affirmative that it's OK to drop it
from these files.
</content>
</entry>
<entry>
<title>bectl(8): Add a "check" command</title>
<updated>2019-09-11T13:27:10Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2019-09-11T13:27:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=490e13c1403f863296eed0915c270c8781deaf38'/>
<id>urn:sha1:490e13c1403f863296eed0915c270c8781deaf38</id>
<content type='text'>
This command simply returns 0 at the moment and explicitly takes no
arguments. This should be used by utilities wanting to see if bectl can
operate on the system they're running, or with a specific root (`bectl -r`).
It may grow more checks than "will libbe successfully init" in the future,
but for now this is enough as that checks for the dataset mounted at "/" and
that it looks capable of being a BE root (e.g. it's not a top-level dataset)

bectl commands can now specify if they want to be silent, and this will turn
off libbe_print_on_error so they can control the output as needed. This is
already used in `bectl check`, and may be turned on in the future for some
other commands where libbe errors are better suppressed as the failure mode
may be obvious.

Requested by:	David Fullard
MFC after:	3 days
</content>
</entry>
<entry>
<title>bectl(8): implement sorting for 'bectl list' output</title>
<updated>2019-09-04T13:59:06Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2019-09-04T13:59:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=f0298be018ffcc871e40d6f6df22d25a69152d48'/>
<id>urn:sha1:f0298be018ffcc871e40d6f6df22d25a69152d48</id>
<content type='text'>
Allow 'bectl list' to sort output by a given property name. The property
name is passed in using a command-line flag, '-c' for ascending order and
'-C' for descending order. The properties allowed to sort by are:

- name (the default output, even if '-c' or '-C' are not used)
- creation
- origin
- used
- usedds
- usedsnap
- usedrefreserv

The default output for 'bectl list' is now ascending alphabetical order of
BE name.

To sort by creation time from earliest to latest, the command would be
'bectl list -c creation'

Submitted by:	Rob Fairbanks &lt;rob.fx907 gmail com&gt;
Reviewed by:	ler
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D20818
</content>
</entry>
<entry>
<title>bectl(8): add description for create subcommand</title>
<updated>2019-05-22T23:07:40Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2019-05-22T23:07:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=55ece394c220d9dfdc521a028435257b35815918'/>
<id>urn:sha1:55ece394c220d9dfdc521a028435257b35815918</id>
<content type='text'>
In commit r345845, a portion of documentation for the create subcommand was
removed. Specifically, for creating a snapshot of an existing boot
environment. bectl even has a test-case for this functionality.

Removing the sub-command description was discussed in PR 235850.

This patch brings back the second "create" description that was originally
in place. Albeit, with a few wording/clarifying changes.

Submitted by:	Rob Fairbanks &lt;rob.fx907 gmail com&gt;
Reviewed by:	kevans
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D20249
</content>
</entry>
<entry>
<title>bectl.8: Bump date after r345845</title>
<updated>2019-04-03T13:59:35Z</updated>
<author>
<name>Mateusz Piotrowski</name>
<email>0mp@FreeBSD.org</email>
</author>
<published>2019-04-03T13:59:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=2b9dde098f65d7c595ee942c64e945c554a09a65'/>
<id>urn:sha1:2b9dde098f65d7c595ee942c64e945c554a09a65</id>
<content type='text'>
Approved by:	kevans
</content>
</entry>
</feed>
