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

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