From nobody Fri Oct 13 23:35:33 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 4S6jYK6Wdkz4wxMC; Fri, 13 Oct 2023 23:35:33 +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 4S6jYK5yVKz3D1p; Fri, 13 Oct 2023 23:35:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697240133; 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=jYW/0Gb9XzuaQl7HsABWym81xtswJdUJd4UuECPfg0I=; b=AqWDal1yzx4jvmjwxLIG3RXn6ClaUiJEBgNlunExAj0g6gVnGIyi0EjovDiC8tKTAAPduU Tm/4Cu+wDav6jqBX0qhoboKXHSnXFAR/Gt5fX/tbsWcCPwvT8F6LB8OdN0iDAuukqlHhEd v/g6zVUZXVWIXzXR0t22FjKKl7zwVywgCg/EOQ8+fLe+xprbNgIcaxQj7khr+qzBi42CrP lZSorcprQdf7esujR6DWjjVYC5h7EE4rgUxmKomH47sYBIPzMqgxkfX5/cid/Tnnr0h+Br TX0/8/sG8rMN7sQtmBR49Xpc/3B1XldzrAiCBEMYNpFtfs0qQGd6AB+q1jNa+w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697240133; a=rsa-sha256; cv=none; b=dQR4HHbJCkie+VJSGWy+TomIRb3LpBlW3VTJHjW+wXRBCY6rYS6di/8eelRZCBODqaJ4VL D2WhCAG85u4M60fdEIHUomEjAuB34CquAq76XvdZcKxIrBxQPhkubkv46y+Sq0hVLuKQcn TSfA38PoAYHLnT7iL2cZ93gkE6cG7racSNF8f2gaK7qCJM3Y0XMucX9XGt18nPMPShoaS+ NLTiueKy6D8P7W9fWFENB7bSRf8hZI7tn+dA0fW59gEXSdAHAlV1XoFZwNzlt3h3HJ+i5q s0H9QJz2lAAN5nySOBlp3rwyhJLDWOiCBx/HL91JvJRlS+R9POqVs0x/Mdn1YQ== 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=1697240133; 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=jYW/0Gb9XzuaQl7HsABWym81xtswJdUJd4UuECPfg0I=; b=EQVG7lsgPHo+Av0VIGF/D2IAZAqwEMo9Umw5OVl4ONFWeKNglvNq5wSp7dy2PTIg2QwIFn rcNFQh5c6XbPZhOTkJtXVEGM4mTL8vtZNkq+d1P0s9WgR6i+/8mGEnluaRnItehdzdJVum biss9aS0bePQG47X3yZtsZrh5gXizTk92YcbJbFfFAu4/v2cn4ZH1yTurAulOKAWl6EJnm MM76utKnFJ0YQ7K3j5Cm58Orz8woeMLZxxBxMMfBQNSxlFV1D9mGhHz73LwtjoQDdyObI8 g/mXTfTeUcnTo/8jCZ3+dAqafiIrwsLmxA3EO6NZX2rZI2ki0IgFbbjJqFrKtg== 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 4S6jYK51JZz16SC; Fri, 13 Oct 2023 23:35:33 +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 39DNZX8q098758; Fri, 13 Oct 2023 23:35:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39DNZXpk098755; Fri, 13 Oct 2023 23:35:33 GMT (envelope-from git) Date: Fri, 13 Oct 2023 23:35:33 GMT Message-Id: <202310132335.39DNZXpk098755@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: 80b003e81684 - releng/14.0 - 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/releng/14.0 X-Git-Reftype: branch X-Git-Commit: 80b003e816849b7809e7c64e01bf3acd543e4357 Auto-Submitted: auto-generated The branch releng/14.0 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=80b003e816849b7809e7c64e01bf3acd543e4357 commit 80b003e816849b7809e7c64e01bf3acd543e4357 Author: Ed Maste AuthorDate: 2023-09-29 15:47:41 +0000 Commit: Ed Maste CommitDate: 2023-10-13 23:17:39 +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) Approved by: re (gjb) --- 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 ,