Date: Fri, 13 Apr 2001 16:54:49 -0700 (PDT) From: Kirk McKusick <mckusick@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/tunefs tunefs.c Message-ID: <200104132354.f3DNsnf24968@freefall.freebsd.org>
index | next in thread | raw e-mail
mckusick 2001/04/13 16:54:49 PDT
Modified files:
sbin/tunefs tunefs.c
Log:
Do not allow the soft updates flag to be set if the filesystem is dirty.
Because the kernel will allow the mounting of unclean filesystems when
the soft updates flag is set, it is important that only soft updates
style inconsistencies (missing blocks and inodes) be present. Otherwise
a panic may ensue. It is also important that the filesystem be in a clean
state when the soft updates flag is set because the background fsck uses
the fact that the flag is set to indicate that it is safe to run. If
background fsck encounters non-soft updates style inconsistencies, it
will exit with unexpected inconsistencies.
Revision Changes Path
1.17 +5 -2 src/sbin/tunefs/tunefs.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104132354.f3DNsnf24968>
