Blame SOURCES/e2fsprogs-1.43.4-tune2fs-edit-dire-warning-about-check-intervals.patch

ec15cf
From 2f121a201133bf6b8efeda5d898c938d12bd6f65 Mon Sep 17 00:00:00 2001
ec15cf
From: Eric Sandeen <sandeen@redhat.com>
ec15cf
Date: Sun, 23 Jul 2017 18:34:57 -0400
ec15cf
Subject: [PATCH] tune2fs: edit dire warning about check intervals
ec15cf
ec15cf
Time & mount-count based checks have been off by default for quite some
ec15cf
time now, but the dire warning about disabling them remains in the
ec15cf
tune2fs manpage, which is confusing.  We did "strongly consider
ec15cf
the consequences" and disabled it by default, no need to scare the
ec15cf
user about it now.  Inform the user of the consequences in a more
ec15cf
measured tone.
ec15cf
ec15cf
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
ec15cf
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
ec15cf
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
ec15cf
---
ec15cf
 misc/tune2fs.8.in | 15 ++++++---------
ec15cf
 1 file changed, 6 insertions(+), 9 deletions(-)
ec15cf
ec15cf
diff --git a/misc/tune2fs.8.in b/misc/tune2fs.8.in
ec15cf
index e07da28..8949f64 100644
ec15cf
--- a/misc/tune2fs.8.in
ec15cf
+++ b/misc/tune2fs.8.in
ec15cf
@@ -122,7 +122,9 @@ Staggering the mount-counts at which filesystems are forcibly
ec15cf
 checked will avoid all filesystems being checked at one time
ec15cf
 when using journaled filesystems.
ec15cf
 .sp
ec15cf
-You should strongly consider the consequences of disabling
ec15cf
+Mount-count-dependent checking is disabled by default to avoid
ec15cf
+unanticipated long reboots while e2fsck does its work.  However,
ec15cf
+you may wish to consider the consequences of disabling
ec15cf
 mount-count-dependent checking entirely.  Bad disk drives, cables,
ec15cf
 memory, and kernel bugs could all corrupt a filesystem without
ec15cf
 marking the filesystem dirty or in error.  If you are using
ec15cf
@@ -277,15 +279,10 @@ as months, and
ec15cf
 .B w
ec15cf
 as weeks.  A value of zero will disable the time-dependent checking.
ec15cf
 .sp
ec15cf
-It is strongly recommended that either
ec15cf
+There are pros and cons to disabling these periodic checks; see the
ec15cf
+discussion under the
ec15cf
 .B \-c
ec15cf
-(mount-count-dependent) or
ec15cf
-.B \-i
ec15cf
-(time-dependent) checking be enabled to force periodic full
ec15cf
-.BR e2fsck (8)
ec15cf
-checking of the filesystem.  Failure to do so may lead to filesystem
ec15cf
-corruption (due to bad disks, cables, memory, or kernel bugs) going
ec15cf
-unnoticed, ultimately resulting in data loss or corruption.
ec15cf
+(mount-count-dependent check) option for details.
ec15cf
 .TP
ec15cf
 .B \-j
ec15cf
 Add an ext3 journal to the filesystem.  If the 
ec15cf
-- 
ec15cf
2.7.5
ec15cf