From e0f72cfdad605231739174fc82f17693d19baf3b Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sun, 14 May 2006 18:09:12 -0400 Subject: [PATCH] Minor edits to tune2fs(8) man page Clarify how the -c and -C options work Signed-off-by: "Theodore Ts'o" --- misc/ChangeLog | 2 ++ misc/tune2fs.8.in | 12 +++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/misc/ChangeLog b/misc/ChangeLog index 69ccfdf..1701182 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,5 +1,7 @@ 2006-05-14 Theodore Tso + * tune2fs.8.in: Clarify how the -c and -C options work. + * tune2fs.c (parse_tune2fs_options): Don't give a confusing error message if the user specifies an check time interval greater than a year; it's probably a bad idea, but it's diff --git a/misc/tune2fs.8.in b/misc/tune2fs.8.in index ef53009..444c338 100644 --- a/misc/tune2fs.8.in +++ b/misc/tune2fs.8.in @@ -88,7 +88,9 @@ parameters on Linux ext2/ext3 filesystems. .SH OPTIONS .TP .BI \-c " max-mount-counts" -Adjust the maximal mounts count between two filesystem checks. If +Adjust the number of mounts after which the filesystem will be checked by +.BR e2fsck (8). +If .I max-mount-counts is 0 or \-1, the number of times the filesystem is mounted will be disregarded by @@ -116,8 +118,12 @@ option for time-dependent checking. .TP .BI \-C " mount-count" Set the number of times the filesystem has been mounted. -Can be used in conjunction with \-c to force an fsck on -the filesystem at the next reboot. +If set to a greater value than the max-mount-counts parameter +set by the +.B \-c +option, +.BR e2fsck (8) +will check the filesystem at the next reboot. .TP .BI \-e " error-behavior" Change the behavior of the kernel code when errors are detected. -- 1.8.3.1