From nobody Fri Oct 13 17:28:40 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S6YQ107FBz4wXLW; Fri, 13 Oct 2023 17:28:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S6YQ06ghmz4HdY; Fri, 13 Oct 2023 17:28:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697218120; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=al7A1+8SzOw0IAruhGxWnF7aRCWYj2XBq/qmYdeUYjo=; b=lC7B/SAun/zISu4smGLB+ADuGOAt2/4pd1AAu63nSJLCZVdzBYzvfJS8SrRriEDFesKJce YO+pTlD7kZt1f5hcDMj3wGWOfiX9MuitOHb6TFzTsT6F8ReHSoFK6Qzpigi56/sTuDEiC3 bNv9gp9qjLyv/c4tSDR3cBIQrtsraoYOp/PyJam4eMAajnYJKZP9nPz720MYXX6ItM7FAJ aUnkg8PZsCtnYhMaO/GAXv1E0ij9mOfEEdXeYnD81kVVqGLGcTcMQ45MNjsTAyNEIYCH5n F352HOB7ZwnZFFL36e1UOM1dwxhixCs1Km3SbWMZvCkXmJdczG8OTZee2tFPMA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697218120; a=rsa-sha256; cv=none; b=yXxeVTzdZNryUdS1n1mhZqjdTA4I+rKKav+NZUGyCuuiWmn3q1Pu1WvTcT2ZB+/OzcmOuI tJltBi2ASCnCRkXZC5YpZ5Tt4EDghzgCkiYr7XFb1s6DsIPtxaan8HwmWwAMiiufuhHbjg 1n/ryBCJQXOkhk+luMqQvBs+woQtELKGmg+AIj8CUTmHoOTR0p/JZr8drk3Bh/Mlan6/jJ I/ZZ8DEnKarjVgDQkvDvrEdvsjqi6XCLfR7c6u52UvYpwfRoSk5vqOr7CM6/vZELQFB8BZ J1/+lYKEsF0oTtzmie47AZt6IqbcFmGNSS8w3H3LrpW/cc92XzYcAwIo+a0wHg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697218120; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=al7A1+8SzOw0IAruhGxWnF7aRCWYj2XBq/qmYdeUYjo=; b=KPfgz/ci7saJzr9AZqEBzpZfvWSBW5oj0RLL6mcG0g36EvFLFHtpAlNUGt56fZ8/iVYOZf mrLieekGo/BJJyc7+dMi+o9BRnEwEnsoddc6WC1iKgbNLFtmt/7bBjRlkghwR18aR7FSwI j2LJBOrbbQXXitQffYyvpurfh9exXrg/FHJ4lSjEPl52lART1P9+iVU6Pl1LFxyXwZjIZH eBaJ1l+maRamKeJBfF7k2cL1Vssx/fFEx1dZ46YKhlgcYI67SPhkMKA4UL/FYIq3KP4Oed TgJQeZfdQXkKWbNbmwqsX09HVE68KoThIj5exJR+54+AzQ8MByn0xWcaYIMNiQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S6YQ05kSHzwwk; Fri, 13 Oct 2023 17:28:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39DHSe7c082405; Fri, 13 Oct 2023 17:28:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39DHSe8m082402; Fri, 13 Oct 2023 17:28:40 GMT (envelope-from git) Date: Fri, 13 Oct 2023 17:28:40 GMT Message-Id: <202310131728.39DHSe8m082402@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: 4dd8132fc565 - stable/13 - freebsd-update: add a note about when files may be deleted List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 4dd8132fc565cb08b92a918a1cae52f246417999 Auto-Submitted: auto-generated The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=4dd8132fc565cb08b92a918a1cae52f246417999 commit 4dd8132fc565cb08b92a918a1cae52f246417999 Author: Ed Maste AuthorDate: 2023-09-29 15:47:41 +0000 Commit: Ed Maste CommitDate: 2023-10-13 17:27:03 +0000 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 (cherry picked from commit 30beebe444f5f415a388be9df91107246bd32674) (cherry picked from commit ffe4456d7d9f2c6bb14e9b747766adc3042f0b9e) --- usr.sbin/freebsd-update/freebsd-update.8 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/usr.sbin/freebsd-update/freebsd-update.8 b/usr.sbin/freebsd-update/freebsd-update.8 index 471ae359c917..0d50ac8822de 100644 --- a/usr.sbin/freebsd-update/freebsd-update.8 +++ b/usr.sbin/freebsd-update/freebsd-update.8 @@ -23,7 +23,7 @@ .\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd September 10, 2022 +.Dd October 4, 2023 .Dt FREEBSD-UPDATE 8 .Os .Sh NAME @@ -251,7 +251,11 @@ configuration file. .It Pa /var/db/freebsd-update/ Default location where .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 .Sh SEE ALSO .Xr freebsd-version 1 ,