diff options
author | Karel Zak | 2018-05-29 12:39:32 +0200 |
---|---|---|
committer | Karel Zak | 2018-06-21 13:19:07 +0200 |
commit | fda0e2cf043994c77c29a2d109c03ce8957b1d38 (patch) | |
tree | 8a2c3e51dff6dff7ac780a0f2e5186973334255c /sys-utils/fstrim.8 | |
parent | fstrim: use new ul_path_* API, improve sysfs context usage (diff) | |
download | kernel-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.8 | 2 |
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 |