summaryrefslogtreecommitdiff
path: root/misc/tune2fs.8.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2001-12-26 08:58:01 -0500
committerTheodore Ts'o <tytso@mit.edu>2001-12-26 08:58:01 -0500
commitd4de4aa938339275515b2b5b6fcf8ca2b51c3d34 (patch)
treec10128bf20798739eacc75914051f8f07a480f9f /misc/tune2fs.8.in
parent07b84e1e1e666e2f7f8c638638c64bd8daf90ac0 (diff)
downloade2fsprogs-d4de4aa938339275515b2b5b6fcf8ca2b51c3d34.tar.gz
tune2fs.8.in, tune2fs.c (parse_tune2fs_options, main): Add
support for new option, -T, which allows the user to set the last checked time on the filesystem.
Diffstat (limited to 'misc/tune2fs.8.in')
-rw-r--r--misc/tune2fs.8.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/misc/tune2fs.8.in b/misc/tune2fs.8.in
index 2b22dbd3..e47485c5 100644
--- a/misc/tune2fs.8.in
+++ b/misc/tune2fs.8.in
@@ -66,6 +66,10 @@ tune2fs \- adjust tunable filesystem parameters on second extended filesystems
.RI [^] feature [,...]
]
[
+.B \-T
+.I time-last-checked
+]
+[
.B \-U
.I UUID
]
@@ -294,6 +298,22 @@ doing! You need to run
on the filesystem after changing this feature in order to have a valid
filesystem.
.TP
+.BI \-T " time-last-checked"
+Set the time the filesystem was last checked using
+.BR e2fsck .
+This can be useful in scripts which use a Logical Volume Manager to make
+a consistent snapshot of a filesystem, and then check the filesystem
+during off hours to make sure it hasn't been corrupted due to
+hardware problems, etc. If the filesystem was clean, then this option can
+be used to set the last checked time on the original filesystem. The format
+of
+.I time-last-checked
+is the international date format, with an optional time specifier, i.e.
+YYYYMMDD[[HHMM]SS]. The keyword
+.B now
+is also accepted, in which case the last checked time will be set to the
+current time.
+.TP
.BI \-u " user"
Set the user who can use the reserved filesystem blocks.
.I user