]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fstrim: (man) add missing note
authorKarel Zak <kzak@redhat.com>
Tue, 1 Feb 2022 08:50:33 +0000 (09:50 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 1 Feb 2022 08:50:33 +0000 (09:50 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/fstrim.8.adoc

index 004eb0bdaac372b1bdacb3e3baf4abcc1a4c31ad..b5c9eb30629c0bac3f9bae8fe249ecc3b675e63a 100644 (file)
@@ -47,6 +47,8 @@ The number of bytes (after the starting point) to search for free blocks to disc
 Specifies a colon-separated list of files in fstab or kernel mountinfo format. All missing or empty files are silently ignored. The evaluation of the _list_ stops after first non-empty file. For example:
 +
 *--listed-in /etc/fstab:/proc/self/mountinfo*.
++
+Filesystems with "X-fstrim.notrim" mount option in fstab are skipped.
 
 *-m, --minimum* _minimum-size_::
 Minimum contiguous free range to discard, in bytes. (This value is internally rounded up to a multiple of the filesystem block size.) Free ranges smaller than this will be ignored and *fstrim* will adjust the minimum if it's smaller than the device's minimum, and report that (fstrim_range.minlen) back to userspace. By increasing this value, the *fstrim* operation will complete more quickly for filesystems with badly fragmented freespace, although not all blocks will be discarded. The default value is zero, discarding every free block.