From nobody Tue Apr 09 13:36:05 2024 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 4VDRn16L0wz5H2HP; Tue, 9 Apr 2024 13:36:05 +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 4VDRn15SW1z43sK; Tue, 9 Apr 2024 13:36:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712669765; 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=F4Wgtn91x9nVlBCHfP6Vr53y+98miW9HzWNZAM2EaTU=; b=g1t/5eXNzV4nKFyMdZoDzSevslbf1/kNGwchfmo4O8ES4QUuBB4xOTjlkNeKMVaSt2xpGV koJ5uqWsH1Pszjfmy9gfEr6trBtGHGltCcriUVBv88HCW65qMI2dtb0Z4NIQeBrhfeo36x V3QvjJHo3YSlWo0h5GAYPLtbG8cX0oAaKInkeGJoM56RhyRB+ZCFUEP4b5MaR6DgABBtjC 7OFxTO6pb/zaozwaQ/lUqibPWCV0GCRbAHKkqDdTxVwccl6wKcE/Mnps6TtKf45+8zuWHo Hgw2vwMAz2exqeHnaWavgb0Wi771mFxnDNJrr2S1MAn/bwxe+7mZGC1lVwWGEg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712669765; a=rsa-sha256; cv=none; b=e2dRyKk/mxZxMJp/OpLK7NJ4yZmF/wGXkdBUK3mfGkF11MAHF+5Z5Hg4G/Mefzqj3HJNxX +hn+ibY1JqMBT3SNPBrSWcPI16ximncX935viZ5Qk6fGBhpsnLbH6VpitEV/um4xhvZYAv 0z2L4j/XzWmsLyKvdilrXzJ9LEBwgMpymcpv2JUXNP5mjxBnmocKDEYL3nlpdzuWEQek93 RSlhXssKwD7wBX2jthx7X80bdKNRvBOeQi3zuTcOl5D3jEPEaeIypzIN0uwU/rrQYDstzh Q+tr4f9h/gKnSZiTU62BsXH45XelJy17Jo+HUDITdqEAK1YlPG1dICnYCfl+aA== 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=1712669765; 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=F4Wgtn91x9nVlBCHfP6Vr53y+98miW9HzWNZAM2EaTU=; b=BkPh34EjgYuUZERKchEe5LpwAQ326RhSRlPYaZoO3f7ro+I4ntT4qoJYWQlFwx6A3HpQT9 9snJhrPYdHjeMETxYq+bnt3v6AdXbrEyuvqyUkXF6MgH07/tYoimDS3EBCCb8v0WVbpidq V8xLD8+iV75wUyuAoYkIuUDmNwBNB0XJFbbwpS9rXp/c+fufy7n1wCK1i7UdTUjlfS+RpO iDGgX46Qb99dDmEux1JJLToRrCfT8M+L6rhZLF38l7bo037nPsySRrVJmZG6Ot1sH2vaBa brx2mGUF7XzQtxSvLbyjby39E55ayeOu9gvzlTebHpMydjkSitSZ/Ckm5fQtPg== 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 4VDRn153lVzx6B; Tue, 9 Apr 2024 13:36:05 +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 439Da5Ps086542; Tue, 9 Apr 2024 13:36:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 439Da5BV086539; Tue, 9 Apr 2024 13:36:05 GMT (envelope-from git) Date: Tue, 9 Apr 2024 13:36:05 GMT Message-Id: <202404091336.439Da5BV086539@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: 7ced57106295 - stable/14 - ccdconfig: reference gpart rather than fdisk and disklabel 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: dev-commits-src-all+owner@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: 7ced57106295ac92a0584ea03e0a05b66973ed73 Auto-Submitted: auto-generated The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=7ced57106295ac92a0584ea03e0a05b66973ed73 commit 7ced57106295ac92a0584ea03e0a05b66973ed73 Author: Ed Maste AuthorDate: 2024-01-23 18:23:44 +0000 Commit: Ed Maste CommitDate: 2024-04-09 13:35:28 +0000 ccdconfig: reference gpart rather than fdisk and disklabel fdisk and disklabel are legacy tools for legacy disk partitioning schemes. Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D43564 (cherry picked from commit 8669e516f0e6f48a5017db9e5f4768275f1deaa8) --- sbin/ccdconfig/ccdconfig.8 | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/sbin/ccdconfig/ccdconfig.8 b/sbin/ccdconfig/ccdconfig.8 index 4014a36b0771..07fa3e6348fc 100644 --- a/sbin/ccdconfig/ccdconfig.8 +++ b/sbin/ccdconfig/ccdconfig.8 @@ -27,7 +27,7 @@ .\" .\" $NetBSD: ccdconfig.8,v 1.4 1996/02/28 01:01:17 thorpej Exp $ .\" -.Dd January 24, 2024 +.Dd March 22, 2024 .Dt CCDCONFIG 8 .Os .Sh NAME @@ -176,9 +176,8 @@ ccdconfig -c /dev/ccd0 32 linux /dev/ada0s1 /dev/ada0s2 .Ed .Pp When you create a new ccd disk you generally want to -.Xr fdisk 8 -and -.Xr disklabel 8 +partition it using +.Xr gpart 8 it before doing anything else. Beware that changing any ccd parameters: interleave, flags, or the device list making up the ccd disk, will usually destroy any prior @@ -206,8 +205,7 @@ and .Sh SEE ALSO .Xr dd 1 , .Xr ccd 4 , -.Xr disklabel 8 , -.Xr fdisk 8 , +.Xr gpart 8 , .Xr gvinum 8 , .Xr rc 8 .Sh HISTORY