freebsd-update: add a note about when files may be deleted

Files under /var/db/freebsd-update are required during the upgrade
process, and to support rollback.  They may be deleted if no upgrade is
in progress and rollback will not be required.

PR:		273601
Reviewed by:	bcr
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D42022
This commit is contained in:
Ed Maste 2023-09-29 11:47:41 -04:00
parent f7f4bd06a8
commit 30beebe444

View File

@ -23,7 +23,7 @@
.\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE. .\" POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.Dd September 10, 2022 .Dd October 4, 2023
.Dt FREEBSD-UPDATE 8 .Dt FREEBSD-UPDATE 8
.Os .Os
.Sh NAME .Sh NAME
@ -251,7 +251,11 @@ configuration file.
.It Pa /var/db/freebsd-update/ .It Pa /var/db/freebsd-update/
Default location where Default location where
.Nm .Nm
stores temporary files and downloaded updates. stores temporary files, downloaded updates, and files required for rollback.
All files under
.Pa /var/db/freebsd-update/
may be deleted if an upgrade is not in progress and rollback will not be
required.
.El .El
.Sh SEE ALSO .Sh SEE ALSO
.Xr freebsd-version 1 , .Xr freebsd-version 1 ,