From nobody Fri Jul 28 07:57:57 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 4RC0P21V9Gz4ppb3; Fri, 28 Jul 2023 07:57:58 +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 4RC0P20yYCz4JN5; Fri, 28 Jul 2023 07:57:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690531078; 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=KU+GhgTbq127zgxrltMnbh7PhFgfoO9WAzHVd7DNtVk=; b=mN526FtR3I88yEONY3SssUeRqIbcthxHUuvaNOgkitJzanRZB7WREA2pRTp+ARkM+auzW9 iOG+x5flba1CuxaIYrrth3ckETOj+0teYYtQu6R6E7x/eUIMUwg+VIQXYu4Qxnr+4pkh2y nw9v8IcfQfxfcbz2MuCdVEr3hMasud+XNcQFLlYwgCJWr/zItLng1Xye5h0JXEx2AkZLMU AaSc6XkRDT5CXNDJSEk2q7QBEt62K22v8hGfF7Ba1BtKs2mLr3pTK+CsBpeEmBKM1zKIJR jHCiAt7wDhPsouJxv6cRXyhVCE/WVFPMGygDGl/fmTatbi8l7kPTSP3sNCAioQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690531078; 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=KU+GhgTbq127zgxrltMnbh7PhFgfoO9WAzHVd7DNtVk=; b=b4jamHzkMx+iJL3PvN8Lx5hIZ1wP4CDA9MNL3rqUucSlEffbPs2h4XVVfjxNeqR/FmzDSo 9Jn9P0g9HtodzHl1mAOx4AgA/UwUn50BhupueQAkylk8wlYNIre46Yc3F0NOHF8wAW3mJl mjsqv1c6JBB9L3fTetbASTklpw82k8cLFoBeUDPv3IL5W/ThXHAF+h1TtxYNuoRNLzSvyf vI628dDBiWh6EnMHa8pGVM4z0hiMRVu+QdW0XMurugWukuApkJGZDOsoVMW8wo32kc1KGF esNYIZmWwJUIveO2zBfDOF3uN9cpyAzjkZoRAXH90Pk4FTFBf1pRldm8xzQZhQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690531078; a=rsa-sha256; cv=none; b=BGBCofL4TFIfoRVdg2CcDxV+vxG71529G3JN4E8uEVTfKFGl6ONcF22cRlSlUrm7xwHOQY TrStY+Z35roAadQmpuGGp2iMelimQBVuW56FVfTmrrBdKHH5LnaXq5hXP7+fpKbZlxTOZz XyCTuht78cmnhlyIosZLYIV4Cko1zRHJsX0HRS/63+hPYh1r/MnQ6AA+FWOy+HYQ3K62LH 4rb88wGdSCh7oSPiunYM5IEb4TcV4fF2n9ByFFdiFm8/wiP4CpFrf/dGj0+eMVtZeOkhDV e9RAAU+kuyhrFRlI7r4MhHBKTs855I6/74BQQkpeHCF2bmMeM3c8/Yw86FJxXw== 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 4RC0P202nyzjwn; Fri, 28 Jul 2023 07:57:58 +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 36S7vvSF046634; Fri, 28 Jul 2023 07:57:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36S7vvlK046633; Fri, 28 Jul 2023 07:57:57 GMT (envelope-from git) Date: Fri, 28 Jul 2023 07:57:57 GMT Message-Id: <202307280757.36S7vvlK046633@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Graham Perrin Subject: git: e583c798d935 - stable/13 - gpart(8): slices are out of context for GPT 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: grahamperrin X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: e583c798d93502752bd8d72da62beca5b3e342e4 Auto-Submitted: auto-generated The branch stable/13 has been updated by grahamperrin: URL: https://cgit.FreeBSD.org/src/commit/?id=e583c798d93502752bd8d72da62beca5b3e342e4 commit e583c798d93502752bd8d72da62beca5b3e342e4 Author: Graham Perrin AuthorDate: 2023-07-07 22:05:46 +0000 Commit: Graham Perrin CommitDate: 2023-07-28 07:53:36 +0000 gpart(8): slices are out of context for GPT Correct the GPT example. Creation of a partition leaves free the rest of the device (not the slice). Approved-by: imp Fixes: ae1b731b5df0 Rewrite the GPT and MBR examples. For GPT, ensure that the boot partition is large enough for gptzfsboot, which has doubled in size since 10. MFC after: 1 week Pull-request: https://github.com/freebsd/freebsd-src/pull/795 (cherry picked from commit 3541d90836c0dde9734ea776f2b2b6c4ed8fd7f4) --- lib/geom/part/gpart.8 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/geom/part/gpart.8 b/lib/geom/part/gpart.8 index ffb048e9abf5..832f53d1bfc6 100644 --- a/lib/geom/part/gpart.8 +++ b/lib/geom/part/gpart.8 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 26, 2022 +.Dd July 7, 2023 .Dt GPART 8 .Os .Sh NAME @@ -1396,7 +1396,7 @@ sizes of up to 256 kB. .Pp Finally, we create and format an 8 GB .Cm freebsd-ufs -partition for the root filesystem, leaving the rest of the slice free +partition for the root filesystem, leaving the rest of the device free for additional filesystems: .Bd -literal -offset indent /sbin/gpart add -s 8G -t freebsd-ufs ada0