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>
This commit is contained in:
Howard 2017-11-25 19:51:43 -10:00 committed by David Sterba
parent 3ac0e83fd8
commit 4c09c15f46

View file

@ -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