summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-12-06 18:26:31 +0100
committerDavid Sterba <dsterba@suse.com>2016-12-14 15:06:35 +0100
commitb3afc1e814a90dbdb9db5241a76f000cd4fa5330 (patch)
tree86967591b93ad762e792a631edbe748aa936e196
parenta0ac307b0cbb4edc1d3fe8707a3d64c598424344 (diff)
btrfs-progs: docs: clarify trim after mkfs -K
A user question on IRC about mkfs -K and mount with discard. Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r--Documentation/mkfs.btrfs.asciidoc2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/mkfs.btrfs.asciidoc b/Documentation/mkfs.btrfs.asciidoc
index 9b1d45a5..cfd03ab8 100644
--- a/Documentation/mkfs.btrfs.asciidoc
+++ b/Documentation/mkfs.btrfs.asciidoc
@@ -100,6 +100,8 @@ bytes and must not contain newline characters.
*-K|--nodiscard*::
Do not perform whole device TRIM operation on devices that are capable of that.
+This does not affect discard/trim operation when the filesystem is mounted.
+Please see the mount option 'discard' for that in `btrfs`(5).
*-r|--rootdir <rootdir>*::
Populate the toplevel subvolume with files from 'rootdir'. This does not