summaryrefslogtreecommitdiffstats
path: root/sys-utils/fstrim.8
diff options
context:
space:
mode:
authorKarel Zak2018-05-29 12:39:32 +0200
committerKarel Zak2018-06-21 13:19:07 +0200
commitfda0e2cf043994c77c29a2d109c03ce8957b1d38 (patch)
tree8a2c3e51dff6dff7ac780a0f2e5186973334255c /sys-utils/fstrim.8
parentfstrim: use new ul_path_* API, improve sysfs context usage (diff)
downloadkernel-qcow2-util-linux-fda0e2cf043994c77c29a2d109c03ce8957b1d38.tar.gz
kernel-qcow2-util-linux-fda0e2cf043994c77c29a2d109c03ce8957b1d38.tar.xz
kernel-qcow2-util-linux-fda0e2cf043994c77c29a2d109c03ce8957b1d38.zip
fstrim: add --dry-run
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/fstrim.8')
-rw-r--r--sys-utils/fstrim.82
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-utils/fstrim.8 b/sys-utils/fstrim.8
index eceaf2723..f86dda984 100644
--- a/sys-utils/fstrim.8
+++ b/sys-utils/fstrim.8
@@ -52,6 +52,8 @@ The other supplied options, like \fB\-\-offset\fR, \fB\-\-length\fR and
\fB-\-minimum\fR, are applied to all these devices.
Errors from filesystems that do not support the discard operation are silently
ignored.
+.IP "\fB\-d, \-\-dry\-run\fP"
+This option does everything apart from actually call FITRIM ioctl.
.IP "\fB\-o, \-\-offset\fP \fIoffset\fP"
Byte offset in the filesystem from which to begin searching for free blocks
to discard. The default value is zero, starting at the beginning of the