summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward <hwj@BridgeportContractor.com>2017-11-25 19:51:43 -1000
committerDavid Sterba <dsterba@suse.com>2018-01-03 17:09:35 +0100
commit4c09c15f4650107ec89eb0b0c8fc9d90c161dcaf (patch)
tree26ae4ded5bcf402ff6dc1e21d4ad30e4f517621d
parent3ac0e83fd8d7ee3190503c8f82c148be6b328955 (diff)
btrfs-progs: docs: update btrfs-subvolume manual page
To simplify, I suggest moving the 'writable/readonly' issue only to the -r line, instead of having it introduced in two places. Pull-request: #80 Author: Howard <hwj@BridgeportContractor.com> Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r--Documentation/btrfs-subvolume.asciidoc8
1 files changed, 6 insertions, 2 deletions
diff --git a/Documentation/btrfs-subvolume.asciidoc b/Documentation/btrfs-subvolume.asciidoc
index d33fee5a..c5298cc7 100644
--- a/Documentation/btrfs-subvolume.asciidoc
+++ b/Documentation/btrfs-subvolume.asciidoc
@@ -154,12 +154,16 @@ The id can be obtained from *btrfs subvolume list*, *btrfs subvolume show* or
Show information of a given subvolume in the <path>.
*snapshot* [-r] <source> <dest>|[<dest>/]<name>::
-Create a writable/readonly snapshot of the subvolume <source> with the
+Create a snapshot of the subvolume <source> with the
name <name> in the <dest> directory.
+
If only <dest> is given, the subvolume will be named the basename of <source>.
If <source> is not a subvolume, btrfs returns an error.
-If '-r' is given, the snapshot will be readonly.
++
+`Options`
++
+-r::::
+Make the new snapshot read only.
*sync* <path> [subvolid...]::
Wait until given subvolume(s) are completely removed from the filesystem