From owner-cvs-all Mon Dec 2 21:14:16 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3F4B37B401; Mon, 2 Dec 2002 21:14:15 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FAB743E9C; Mon, 2 Dec 2002 21:14:15 -0800 (PST) (envelope-from mckusick@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 gB35A7mV003608; Mon, 2 Dec 2002 21:10:07 -0800 (PST) (envelope-from mckusick@repoman.freebsd.org) Received: (from mckusick@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gB35A7uV003607; Mon, 2 Dec 2002 21:10:07 -0800 (PST) Message-Id: <200212030510.gB35A7uV003607@repoman.freebsd.org> From: Kirk McKusick Date: Mon, 2 Dec 2002 21:10:07 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/dump traverse.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG mckusick 2002/12/02 21:10:07 PST Modified files: sbin/dump traverse.c Log: Properly handle UFS2 sparsely allocated inodes. The UFS2 filesystem only preallocates a small number of inodes. The dump program tries to scan through all the allocated inodes on a filesystem which causes bad behavior if they have never been allocated. Thus dump must calculate the set of inodes that have actually been allocated and scan only those inodes. Sponsored by: DARPA & NAI Labs. Revision Changes Path 1.29 +66 -25 src/sbin/dump/traverse.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message