From owner-cvs-all Mon Apr 16 15:22:27 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 21C7137B42C; Mon, 16 Apr 2001 15:22:21 -0700 (PDT) (envelope-from mckusick@FreeBSD.org) Received: (from mckusick@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3GMMLO97833; Mon, 16 Apr 2001 15:22:21 -0700 (PDT) (envelope-from mckusick) Message-Id: <200104162222.f3GMMLO97833@freefall.freebsd.org> From: Kirk McKusick Date: Mon, 16 Apr 2001 15:22:21 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/fsck_ffs fsck.h fsutil.c main.c pass5.c setup.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG mckusick 2001/04/16 15:22:21 PDT Modified files: sbin/fsck_ffs fsck.h fsutil.c main.c pass5.c setup.c Log: Minor background cleanups: 1) Set the FS_NEEDSFSCK flag when unexpected problems are encountered. 2) Clear the FS_NEEDSFSCK flag after a successful foreground cleanup. 3) Refuse to run in background when the FS_NEEDSFSCK flag is set. 4) Avoid taking and removing a snapshot when the filesystem is already clean. 5) Properly implement the force cleaning (-f) flag when in preen mode. Note that you need to have revision 1.21 (date: 2001/04/14 05:26:28) of fs.h installed in defining FS_NEEDSFSCK for this to compile. Revision Changes Path 1.17 +2 -2 src/sbin/fsck_ffs/fsck.h 1.5 +27 -3 src/sbin/fsck_ffs/fsutil.c 1.25 +30 -6 src/sbin/fsck_ffs/main.c 1.22 +10 -5 src/sbin/fsck_ffs/pass5.c 1.23 +23 -19 src/sbin/fsck_ffs/setup.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message