From nobody Sun Apr 30 00:01:39 2023 X-Original-To: dev-commits-src-main@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 4Q862X0gQBz48RLX; Sun, 30 Apr 2023 00:01:40 +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 4Q862X0CXBz41kS; Sun, 30 Apr 2023 00:01:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682812900; 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=dL+0iZ3GKlpofE31jDZ10FcFu2aYqxxNJMB63MkKXCY=; b=AK6b23LGmunnDbsnMn3Z+HRQm4GYfG69jiasBn8gbee8tUsEw4MbpBigBEJXOpnZjRMi5V zlXps5m/yD4IlONyb2G2xAtRJ5bLcFgAqEoKXKT91HtVyRE/gIgVM2XbdxmdHj8/uk4wpt A0+6zUili5qzsJUorhOXJctm+/pSSm7QjAPd8kkpVGxMtDOvqfcQIUvBNfEkRj/A5gLJ4S BQRtsBOCTky5GUvoETSohalUK6Db5cW2D54MKnHY/IeKSTCJYS0nr0s/GnH7JXlM9BxIyz WdGsAjxBFIXKj27bjMoSfu4+h7/OP+58RFzCanzAMaKLN/lTPyLue9zkDKsJSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682812900; 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=dL+0iZ3GKlpofE31jDZ10FcFu2aYqxxNJMB63MkKXCY=; b=u1zWKVbDV9QAdxpciutBdGRhbexESAJkfo5W+sgtOsLhwsP9rzxZWEaTTxNIthCeLqoYUv PLW9+AiA3CRwHD/Oc6tpoXzZ+Mo8wb70a5A6xsIUUSaIrByECEJoCzL0aN1avkIyInIUa/ P/7K/KAwC5JBSgtGgza1EvEJnn4Y0FdkSJkvMNmefbjse2utYYcblTwiFISEtgi7U80mzE KJ5CbTM3KrR/IZSlv0LoHT+yOfzkz0+tFS/WIXIw7KLE7Ffi6cfogAVzupk32q0JBzwXm2 oc2moQbvzUaYyKQvDX0D/hT8R6fbg85yZ6Wza7j3ikSKsqhj2pryfN0nTRD0SQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682812900; a=rsa-sha256; cv=none; b=WwNpn3YEEJSBOcogIVNCgXXVQFTQRdK734KDm1HQBjWzmg4iBtW0xNLjB9jRk+AytSjTw8 xKjfvpHSyv/YZor03/2BpWL/4fKLSUORMcyqRk+VwSQVNdYW5ApQH9p+X7TVn17jmsBzib ld8Ihgj0841bXaj7UNZQ7JwUnErK34HTyJc+R7TLk6QHXmHbtuiqCBA0wXGUNi7AGqYeA1 UTBFI9/yVa/2GXtqTZry2XPYuy9NS2XfdErbkpXJgTEvz5H88Fb+b1tLAzlWBo51mpJNZ+ QGQjPpUcpgjVjrHiYBgXlTXN5xDs9r7pNRYz/pcC3WFHfRv/jMDX7H81GQPZhA== 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 4Q862W6NR1z11xw; Sun, 30 Apr 2023 00:01:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33U01dbP090362; Sun, 30 Apr 2023 00:01:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33U01d2m090361; Sun, 30 Apr 2023 00:01:39 GMT (envelope-from git) Date: Sun, 30 Apr 2023 00:01:39 GMT Message-Id: <202304300001.33U01d2m090361@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kirk McKusick Subject: git: 04997e19e27b - main - Additional output from dumpfs(8). List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mckusick X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 04997e19e27b240f9fd253f3eb1053708ca99c51 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mckusick: URL: https://cgit.FreeBSD.org/src/commit/?id=04997e19e27b240f9fd253f3eb1053708ca99c51 commit 04997e19e27b240f9fd253f3eb1053708ca99c51 Author: Kirk McKusick AuthorDate: 2023-04-29 18:41:23 +0000 Commit: Kirk McKusick CommitDate: 2023-04-30 00:01:18 +0000 Additional output from dumpfs(8). Provide an additional line of output for the superblock giving the computed size of the cylinder group (CGSIZE macro) along with the details needed to calculate it. MFC after: 1 week --- sbin/dumpfs/dumpfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sbin/dumpfs/dumpfs.c b/sbin/dumpfs/dumpfs.c index 4983645156ff..01b475a03fea 100644 --- a/sbin/dumpfs/dumpfs.c +++ b/sbin/dumpfs/dumpfs.c @@ -245,6 +245,8 @@ dumpfs(const char *name, int dosb) default: goto err; } + printf("old_cpg\t%d\tsize_cg\t%jd\tCGSIZE\t%jd\n", + afs.fs_old_cpg, sizeof(struct cg), CGSIZE(&afs)); printf("sblkno\t%d\tcblkno\t%d\tiblkno\t%d\tdblkno\t%d\n", afs.fs_sblkno, afs.fs_cblkno, afs.fs_iblkno, afs.fs_dblkno); printf("cgrotor\t%d\tfmod\t%d\tronly\t%d\tclean\t%d\n",