diff options
author | mckusick <mckusick@FreeBSD.org> | 2001-04-16 22:22:21 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 2001-04-16 22:22:21 +0000 |
commit | 8553bca948638af0851ed308cfc71c940bbc179e (patch) | |
tree | 22d991906cdeef6ffaca97cddaf80f72161dae29 /sbin/fsck_ffs/pass3.c | |
parent | 3b359dad32baa6f19fa388a452fd376f08bb28a6 (diff) | |
download | FreeBSD-src-8553bca948638af0851ed308cfc71c940bbc179e.zip FreeBSD-src-8553bca948638af0851ed308cfc71c940bbc179e.tar.gz |
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.
Diffstat (limited to 'sbin/fsck_ffs/pass3.c')
0 files changed, 0 insertions, 0 deletions