Updated freebsd-update to allow it to create boot environments using bectl
should the system support it. The bectl utility was updated in r352211 to
support a 'check' to determine if the system supports boot environments.
If the check fails, it will fall back to a manual method to discover if the
system is running ZFS and that root is mounted. If UFS is used, the bectl
check will fail then no attempt will be made to create the boot environment.
If freebsd-update is run inside a jail, no attempt will be made to create a
The boot environment function will create a new environment using the format:
current FreeBSD kernel version and date/timestamp, example:
This functionality can be disabled by setting 'CreateBootEnv' in
freebsd-update.conf to 'no'.