Date: Mon, 16 Apr 2001 15:22:21 -0700 (PDT) From: Kirk McKusick <mckusick@FreeBSD.org> 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 Message-ID: <200104162222.f3GMMLO97833@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <ufs/ffs/fs.h> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104162222.f3GMMLO97833>
