mirror of https://github.com/mkerrisk/man-pages
mount.2: Tweak MS_LAZYTIME text
Reported-by: Omar Sandoval <osandov@osandov.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
9cdabfa62a
commit
5eab76af77
|
@ -173,7 +173,7 @@ an undeleted inode is evicted from memory; or
|
||||||
more than 24 hours have passed since the inode was written to disk.
|
more than 24 hours have passed since the inode was written to disk.
|
||||||
.RE
|
.RE
|
||||||
.IP
|
.IP
|
||||||
This mount significantly reduces writes
|
This mount option significantly reduces writes
|
||||||
needed to update the inode's timestamps, especially mtime and atime.
|
needed to update the inode's timestamps, especially mtime and atime.
|
||||||
However, in the event of a system crash, the atime and mtime fields
|
However, in the event of a system crash, the atime and mtime fields
|
||||||
on disk might be out of date by up to 24 hours.
|
on disk might be out of date by up to 24 hours.
|
||||||
|
@ -188,10 +188,7 @@ mount option is also enabled.
|
||||||
is that
|
is that
|
||||||
.BR stat (2)
|
.BR stat (2)
|
||||||
will return the correctly updated atime, but the atime updates
|
will return the correctly updated atime, but the atime updates
|
||||||
will be flushed to disk only when (1) the inode needs to be
|
will be flushed to disk only in the cases listed above.)
|
||||||
updated for filesystem / data consistency reasons or (2) the
|
|
||||||
inode is pushed out of memory, or (3) the filesystem is
|
|
||||||
unmounted.)
|
|
||||||
.TP
|
.TP
|
||||||
.B MS_MANDLOCK
|
.B MS_MANDLOCK
|
||||||
Permit mandatory locking on files in this filesystem.
|
Permit mandatory locking on files in this filesystem.
|
||||||
|
|
Loading…
Reference in New Issue