]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Update fstrim.8.adoc
authorSeth Bromberger <sbromberger@users.noreply.github.com>
Mon, 12 Dec 2022 14:23:40 +0000 (09:23 -0500)
committerGitHub <noreply@github.com>
Mon, 12 Dec 2022 14:23:40 +0000 (09:23 -0500)
The `-v` option is for "verbose", and the mountpoint is generally required if none of the "all" options are specified.

sys-utils/fstrim.8.adoc

index 7accc427301584697afabfb4d5fe69d054a9eb34..41651e27f97cf7dff1eef396f89ea2316f73853a 100644 (file)
@@ -12,7 +12,7 @@ fstrim - discard unused blocks on a mounted filesystem
 
 == SYNOPSIS
 
-*fstrim* [*-Aa*] [*-o* _offset_] [*-l* _length_] [*-m* _minimum-size_] [*-v* _mountpoint_]
+*fstrim* [*-Aav*] [*-o* _offset_] [*-l* _length_] [*-m* _minimum-size_] [_mountpoint_]
 
 == DESCRIPTION
 
@@ -20,7 +20,7 @@ fstrim - discard unused blocks on a mounted filesystem
 
 By default, *fstrim* will discard all unused blocks in the filesystem. Options may be used to modify this behavior based on range or size, as explained below.
 
-The _mountpoint_ argument is the pathname of the directory where the filesystem is mounted.
+The _mountpoint_ argument is the pathname of the directory where the filesystem is mounted and is required when *_-A_*, *_-a_*, *_--fstab_*, or *_--all_* are unspecified.
 
 Running *fstrim* frequently, or even using *mount -o discard*, might negatively affect the lifetime of poor-quality SSD devices. For most desktop and server systems a sufficient trimming frequency is once a week. Note that not all devices support a queued trim, so each trim command incurs a performance penalty on whatever else might be trying to use the disk at the time.