From nobody Fri Oct 13 15:44:23 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 4S6W5h17W7z4x8w7; Fri, 13 Oct 2023 15:44:24 +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 4S6W5g6sYzz3XyV; Fri, 13 Oct 2023 15:44:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697211864; 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=Y9/LIRoiHZ5s5wS/T6srzb0kaKIo4TndC5fKtdIHnVs=; b=tuHwgQNwZNoq87AD6otz7FsdPxNOjZWFy6eV34KrotK2lVuv1xv56pK/3nXZXMk6VHEZCY vEhSMxxxE+4XBuGhX6N6IYt6814EYIYMHvr2DzPnydTm4KQGc/Q4GL10zZVKvHaF81Bmu4 vfcrW4FqWO/svEjvrrKAS+kEVuu9LSQHIsXYBrDtpRPJEnH2UjP3DVoGQ0+Ch7Axj4Kjbs xIOdl+XUC02nVp467qAeOoiyEmu78QrMHojze21Kjz58/uBuf3Q9LkB0UBjZIaXpTnpAGs 5O5If/6BmyI/1Ba73MFDu4cstHnYCcndPQoA4vH9VU0QE0PaiP1nVLDknhrc3g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697211864; a=rsa-sha256; cv=none; b=onTZVLSsabUo9YdQCNxoxR/MbnAswhWJOQ+dzcuTy426LFpR5VO9k8EUD2yXKS9Cxq+zgZ xCPPDmX2OKLx8M72elyCgld0oojp5aJ/p9SIxKZaxlYoBbjCP8XIWFcL9LxPv0x6hNsWP0 vyeaG9X56wWWbc1aQXn6ph6XB3ZDJ/w4KB4hY9aveXBLynIZwQx0TaBKr78HUXQm83sChB Q9SDZLo5/N2AugB7L+ZGbJOGAeAcVfIIRPYVK5fxoFBturdN1l0vZd3b8G0tAxRG9a3M5U nlyM+DVid0CSUJAprCIIYXb42tGsslANwvLLxM9hF3uyiXUa8aejyUfjkFDfKg== 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=1697211864; 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=Y9/LIRoiHZ5s5wS/T6srzb0kaKIo4TndC5fKtdIHnVs=; b=xBlp2vnU/IF2hZLkNrgtpQyOWHTNIdMoYA5jtYlGwF3+csxHWX8CxSLt/SSXixDuyILw2o +WgR9odcTpOpY5XQ+4V5o5KwK+dTNMVdvAZ3+YnatNDkD0dVVrLtqauT2roGbW0i1HrTkr y8aME1inctNGsWK1+LSEPaQpeuvf3iPIJYGBXFguBEzMYT0ff0WPlSis2H+yQfMdjbBDb+ 75ej/skjD3FpcUiPI3BhFxTQJAbXJlnV/GAxS26MIjvSSxaHurZyP01XSXA6y9j8nF7p1K H3AKibqXEA4UW9iUO3wIDvkRLXRU+JMfQvetms4WLhJQlCmOKShX7xwxi+Ul3A== 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 4S6W5g5jrkztwc; Fri, 13 Oct 2023 15:44:23 +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 39DFiNGD015063; Fri, 13 Oct 2023 15:44:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39DFiNkp015060; Fri, 13 Oct 2023 15:44:23 GMT (envelope-from git) Date: Fri, 13 Oct 2023 15:44:23 GMT Message-Id: <202310131544.39DFiNkp015060@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: ffe4456d7d9f - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: ffe4456d7d9f2c6bb14e9b747766adc3042f0b9e Auto-Submitted: auto-generated The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=ffe4456d7d9f2c6bb14e9b747766adc3042f0b9e commit ffe4456d7d9f2c6bb14e9b747766adc3042f0b9e Author: Ed Maste AuthorDate: 2023-09-29 15:47:41 +0000 Commit: Ed Maste CommitDate: 2023-10-13 14:13:38 +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) --- 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 ,