]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - sys-utils/fstrim.8
Merge branch 'libeconf' of https://github.com/thkukuk/util-linux
[thirdparty/util-linux.git] / sys-utils / fstrim.8
index ef6772a962bd56ee2fc2125e36c3a9e8d1fff5de..52199eb1ead3e5e1c6a5418443c2af61c9b61a58 100644 (file)
@@ -72,6 +72,10 @@ to discard.  If the specified value extends past the end of the filesystem,
 .B fstrim
 will stop at the filesystem size boundary.  The default value extends to
 the end of the filesystem.
+.IP "\fB\-I, \-\-listed\-in\fP \fIlist\fP"
+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
+\fIlist\fP stops after first non-empty file. For example: \fB--listed-in /etc/fstab:/proc/self/mountinfo\fR.
 .IP "\fB\-m, \-\-minimum\fP \fIminimum-size\fP"
 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
@@ -115,7 +119,7 @@ Display version information and exit.
 .BR \-h , " \-\-help"
 Display help text and exit.
 
-.SH RETURN CODES
+.SH EXIT STATUS
 .IP 0
 success
 .IP 1
@@ -129,7 +133,7 @@ The command
 .B fstrim \-\-all
 returns 0 (all succeeded), 32 (all failed) or 64 (some failed, some succeeded).
 
-.SH AUTHOR
+.SH AUTHORS
 .nf
 Lukas Czerner <lczerner@redhat.com>
 Karel Zak <kzak@redhat.com>