From owner-svn-src-all@FreeBSD.ORG Sat Aug 28 00:27:48 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C6041065693; Sat, 28 Aug 2010 00:27:48 +0000 (UTC) (envelope-from mckusick@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3B24D8FC17; Sat, 28 Aug 2010 00:27:48 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o7S0Rm9N012668; Sat, 28 Aug 2010 00:27:48 GMT (envelope-from mckusick@svn.freebsd.org) Received: (from mckusick@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o7S0Rmfv012666; Sat, 28 Aug 2010 00:27:48 GMT (envelope-from mckusick@svn.freebsd.org) Message-Id: <201008280027.o7S0Rmfv012666@svn.freebsd.org> From: Kirk McKusick Date: Sat, 28 Aug 2010 00:27:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r211911 - stable/8/sbin/fsck_ffs X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Aug 2010 00:27:48 -0000 Author: mckusick Date: Sat Aug 28 00:27:47 2010 New Revision: 211911 URL: http://svn.freebsd.org/changeset/base/211911 Log: MFC of -r210382 to note that foreground fsck should be run after a filesystem related panic. Also -r210933 and -r211397 by joel to fix typos and spelling mistakes. Modified: stable/8/sbin/fsck_ffs/fsck_ffs.8 Modified: stable/8/sbin/fsck_ffs/fsck_ffs.8 ============================================================================== --- stable/8/sbin/fsck_ffs/fsck_ffs.8 Sat Aug 28 00:23:13 2010 (r211910) +++ stable/8/sbin/fsck_ffs/fsck_ffs.8 Sat Aug 28 00:27:47 2010 (r211911) @@ -176,10 +176,10 @@ the super block for the file system. An alternate super block is usually located at block 32 for UFS1, and block 160 for UFS2. .It Fl C -Check if file system was dismouted cleanly. +Check if file system was dismounted cleanly. If so, skip file system checks (like "preen"). However, if the file system was not cleanly dismounted, do full checks, -is if +as if .Nm was invoked without .Fl C . @@ -315,6 +315,15 @@ If the .Pa lost+found directory does not exist, it is created. If there is insufficient space its size is increased. +.Pp +The full foreground +.Nm +checks for many more problems that may occur after an +unrecoverable disk write error. +Thus, it is recommended that you perform foreground +.Nm +on your systems periodically and whenever you encounter +unrecoverable disk write errors or file-system\-related panics. .Sh FILES .Bl -tag -width /etc/fstab -compact .It Pa /etc/fstab