From nobody Tue Apr 09 13:38:12 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 4VDRqT13l3z5H2Mp; Tue, 9 Apr 2024 13:38:13 +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 4VDRqT0YD8z44Rq; Tue, 9 Apr 2024 13:38:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712669893; 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=5jPLbfgTV957YGUGSxDAt8QnXkLEqIrEkCfESnXSZco=; b=FvMgfwV3jDvXWD1w5xedvflOMPwnW0WTlheVxZHOKlQLYXSXtmWV+EbrDB/yMMkquWUQZE sFZVauh8SQs3+sFM4uxuGXytA4aq3NR5WgQ+TlbI/i7ALHLWNvPiyCqZ8MF3VTS0K/8ZFd Q/cxcjavF/hFY+Ah24z4lAec+uP0GoYOszD0Eu3pYaOE+SDhmqjNeahCDin/Cp4z9A7oZF AMA8M/2dy3EFIko4exF0bbg7nCGd+3+j+H6b5ghAWjIY8p064ROgQ76YGaZNdA9kblwEEx aybERob0oRvQn4cG90p5CzLiOYaWygr3ol2yFlB7kDDqgdombY20lAjuyOZduA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712669893; a=rsa-sha256; cv=none; b=dLT5SAwK0ytsbK7v4sdRjrpU1HZfUrKA+koVsWy4ZQ0OEB+ioBTfb5gaxng+0VZmUQiauK +cR3kdRau/SSLBF7dZT3tLMjjpKBtTYjoipM3E7FCLFbTNWd+WOjSBqV35J3VPbn3Yw+fY j+okXgq3lpSfFqonh2VLNRq6rE3di5cHtfdPXPmv9ob+zLBOKez7TtS4ZjYMN9chAtHOUe J/RVV3UeEr8XtjVkMCNQ7vsxOsbzzsymG+MR31CfEwS60BQgOl7aD5ORDCHUS2XH2T6l9Z 0ratRG8dgdFJR/S7SIRWcXGFCvDPIPCTK+Bxw/MhL8A2p+kkenu0+LMNwPJ32A== 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=1712669893; 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=5jPLbfgTV957YGUGSxDAt8QnXkLEqIrEkCfESnXSZco=; b=pm8kFMNUqmyDamBtZ4fiE72Vkm5wkFQRifhfGvNjQMCbVqT+092lzAgul8Qh4nmryZVt1G Xi7/S/yxFABvRGndobd6YtLSim5GUJS3FehKVwrwprnu5maUQowuV5sUMb8Se2JIMVZB6n 49aO4HzBbsTYD6ps3/bOhf/t0yy8VQ2nHv4BSSVTpiJXRFXdNtXKqzbWFh65flsaz/rh+i Cbsa/8Lcw0LMsn63jZ7jEHdsHDIUvvCzUnbhQ7J+oWIVjFxNZG/8EkPyFn4XsMREClSmDn slRV5P8OihDSzHkXNJ79loqWspGpbNjL5QbXy960rqovCtH3LP+M7U80c4pPxg== 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 4VDRqT02W1zwCQ; Tue, 9 Apr 2024 13:38:13 +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 439DcCPC086934; Tue, 9 Apr 2024 13:38:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 439DcCFH086931; Tue, 9 Apr 2024 13:38:12 GMT (envelope-from git) Date: Tue, 9 Apr 2024 13:38:12 GMT Message-Id: <202404091338.439DcCFH086931@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: da7a43501881 - stable/13 - ccdconfig: remove obsolete references to BSD disklabels 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/13 X-Git-Reftype: branch X-Git-Commit: da7a43501881469ca0740b24322116d3314b0a58 Auto-Submitted: auto-generated The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=da7a43501881469ca0740b24322116d3314b0a58 commit da7a43501881469ca0740b24322116d3314b0a58 Author: Ed Maste AuthorDate: 2024-01-24 15:05:09 +0000 Commit: Ed Maste CommitDate: 2024-04-09 13:37:28 +0000 ccdconfig: remove obsolete references to BSD disklabels ccd(4) previoulsy had knowledge of BSD disklabels, and relied on their use on the underlying disks, but this hasn't been the case since 2003 (commit 0f76d6d822f4). Remove disklabel references from the man page. Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D43574 (cherry picked from commit a3ed434a69c903fa58ef001c11c9466166d67c92) (cherry picked from commit b5ae8f217122258764e4c187dbfee712dbe6893e) --- sbin/ccdconfig/ccdconfig.8 | 42 +----------------------------------------- 1 file changed, 1 insertion(+), 41 deletions(-) diff --git a/sbin/ccdconfig/ccdconfig.8 b/sbin/ccdconfig/ccdconfig.8 index 2c7460f291f6..4014a36b0771 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 March 17, 2022 +.Dd January 24, 2024 .Dt CCDCONFIG 8 .Os .Sh NAME @@ -122,13 +122,6 @@ argument is optional. ccd0 16 none /dev/da2s1 /dev/da3s1 .Ed .Pp -The component devices need to name partitions of type -.Li FS_BSDFFS -(or -.Dq 4.2BSD -as shown by -.Xr disklabel 8 ) . -.Pp If you want to use the .Tn Linux .Xr md 4 @@ -187,30 +180,6 @@ When you create a new ccd disk you generally want to and .Xr disklabel 8 it before doing anything else. -Once you create the initial label you can -edit it, adding additional partitions. -The label itself takes up the first -16 sectors of the ccd disk. -If all you are doing is creating file systems -with newfs, you do not have to worry about this as newfs will skip the -label area. -However, if you intend to -.Xr dd 1 -to or from a ccd partition it is usually a good idea to construct the -partition such that it does not overlap the label area. -For example, if -you have A ccd disk with 10000 sectors you might create a 'd' partition -with offset 16 and size 9984. -.Bd -literal -# disklabel ccd0 > /tmp/disklabel.ccd0 -# disklabel -R ccd0 /tmp/disklabel.ccd0 -# disklabel -e ccd0 -.Ed -.Pp -The disklabeling of a ccd disk is usually a one-time affair. -If you reboot the machine and reconfigure the ccd disk, -the disklabel you -had created before will still be there and not require reinitialization. Beware that changing any ccd parameters: interleave, flags, or the device list making up the ccd disk, will usually destroy any prior data on that ccd disk. @@ -246,12 +215,3 @@ The .Nm utility first appeared in .Nx 1.1 . -.Sh BUGS -The initial disklabel returned by -.Xr ccd 4 -specifies only 3 partitions. -One needs to change the number of partitions to 8 using -.Dq Nm disklabel Fl e -to get the usual -.Bx -expectations.