From owner-cvs-src@FreeBSD.ORG Thu Aug 14 11:41:00 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1870037B401; Thu, 14 Aug 2003 11:41:00 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5B2043F3F; Thu, 14 Aug 2003 11:40:59 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h7EIex0U066239; Thu, 14 Aug 2003 11:40:59 -0700 (PDT) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h7EIexCb066238; Thu, 14 Aug 2003 11:40:59 -0700 (PDT) Message-Id: <200308141840.h7EIexCb066238@repoman.freebsd.org> From: Robert Watson Date: Thu, 14 Aug 2003 11:40:59 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/growfs debug.c debug.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2003 18:41:00 -0000 rwatson 2003/08/14 11:40:59 PDT FreeBSD src repository Modified files: sbin/growfs debug.c debug.h Log: Commit 1 of 2 to fix ffsinfo(8) for UFS2. Add support for UFS2 to the UFS debugging routines in growfs; required to update ffsinfo(8) for UFS2. A variety of types and fs variables are renamed to reflect UFS1/2 structures. Also, the print routines for inodes are now split into separate UFS1 and UFS2 versions. We now define dbg_dump_csum_total(), but lose the printing of rotational information since that's not present in UFS2. In the future, we may want to re-add this functionality to print it solely for UFS1. Submitted by: Lukas Ertl PR: bin/53517 Revision Changes Path 1.8 +286 -115 src/sbin/growfs/debug.c 1.2 +9 -3 src/sbin/growfs/debug.h