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