From owner-cvs-src-old@FreeBSD.ORG Wed Feb 4 01:03:17 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43E631065678 for ; Wed, 4 Feb 2009 01:03:17 +0000 (UTC) (envelope-from mckusick@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 301738FC1B for ; Wed, 4 Feb 2009 01:03:17 +0000 (UTC) (envelope-from mckusick@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n1413HVU021976 for ; Wed, 4 Feb 2009 01:03:17 GMT (envelope-from mckusick@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n1413HWe021975 for cvs-src-old@freebsd.org; Wed, 4 Feb 2009 01:03:17 GMT (envelope-from mckusick@repoman.freebsd.org) Message-Id: <200902040103.n1413HWe021975@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to mckusick@repoman.freebsd.org using -f From: Kirk McKusick Date: Wed, 4 Feb 2009 01:02:56 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/fsck_ffs fsck.h fsck_ffs.8 fsutil.c inode.c main.c pass1.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2009 01:03:17 -0000 mckusick 2009-02-04 01:02:56 UTC FreeBSD src repository Modified files: sbin/fsck_ffs fsck.h fsck_ffs.8 fsutil.c inode.c main.c pass1.c Log: SVN rev 188110 on 2009-02-04 01:02:56Z by mckusick Update the actions previously attempted by the -D option to make them robust. With these changes fsck is now able to detect and reliably rebuild corrupted cylinder group maps. The -D option is no longer necessary as it has been replaced by a prompt asking whether the corrupted cylinder group should be rebuilt and doing so when requested. These actions are only offered and taken when running fsck in manual mode. Corrupted cylinder groups found during preen mode cause the fsck to fail. Add the -r option to free up excess unused inodes. Decreasing the number of preallocated inodes reduces the running time of future runs of fsck and frees up space that can allocated to files. The -r option is ignored when running in preen mode. Reviewed by: Xin LI Sponsored by: Rsync.net Revision Changes Path 1.41 +3 -3 src/sbin/fsck_ffs/fsck.h 1.40 +10 -17 src/sbin/fsck_ffs/fsck_ffs.8 1.30 +71 -25 src/sbin/fsck_ffs/fsutil.c 1.40 +54 -3 src/sbin/fsck_ffs/inode.c 1.57 +7 -7 src/sbin/fsck_ffs/main.c 1.45 +60 -21 src/sbin/fsck_ffs/pass1.c