From owner-cvs-src@FreeBSD.ORG Thu Apr 10 23:49:23 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E44B106564A; Thu, 10 Apr 2008 23:49:23 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 728EE8FC16; Thu, 10 Apr 2008 23:49:23 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m3ANnNYo053950; Thu, 10 Apr 2008 23:49:23 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3ANnNaN053949; Thu, 10 Apr 2008 23:49:23 GMT (envelope-from delphij) Message-Id: <200804102349.m3ANnNaN053949@repoman.freebsd.org> From: Xin LI Date: Thu, 10 Apr 2008 23:49:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/fsck_ffs fsck.h fsck_ffs.8 fsutil.c inode.c main.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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, 10 Apr 2008 23:49:23 -0000 delphij 2008-04-10 23:49:23 UTC FreeBSD src repository Modified files: sbin/fsck_ffs fsck.h fsck_ffs.8 fsutil.c inode.c main.c Log: Add a new flag, '-C' which enables a special mode that is intended for catastrophic recovery. Currently, this mode only validates whether a cylindergroup has good signature data, and prompts the user to decide whether to clear it as a whole. This mode is useful when there is data damage on a disk and you are working on copy of the original disk, as fsck_ffs(8) tends to abnormally exit in such case, as a last resort to recover data from the disk. Revision Changes Path 1.38 +2 -0 src/sbin/fsck_ffs/fsck.h 1.35 +22 -2 src/sbin/fsck_ffs/fsck_ffs.8 1.27 +30 -2 src/sbin/fsck_ffs/fsutil.c 1.39 +1 -2 src/sbin/fsck_ffs/inode.c 1.51 +6 -1 src/sbin/fsck_ffs/main.c