diff --git a/Documentation/btrfs-subvolume.asciidoc b/Documentation/btrfs-subvolume.asciidoc index a8c4af4bce..75e414ca26 100644 --- a/Documentation/btrfs-subvolume.asciidoc +++ b/Documentation/btrfs-subvolume.asciidoc @@ -47,10 +47,11 @@ do not affect the files in the original subvolume. SUBCOMMAND ----------- -*create* [-i ] [/]:: -Create a subvolume in . +*create* [-i ] [/]:: +Create a new subvolume called in . Once created the new subvolume +will look like a subdirectory but will actually be a subvolume. + -If is not given, subvolume will be created in the current +If is not given, the new subvolume will be created in the current directory. + `Options` @@ -157,17 +158,21 @@ The id can be obtained from *btrfs subvolume list*, *btrfs subvolume show* or *show* :: Show information of a given subvolume in the . -*snapshot* [-r] |[/]:: -Create a snapshot of the subvolume with the -name in the directory. +*snapshot* [-r] [-i ] { / | }:: +Create a snapshot of a . Call it and place it in the . ++ +When only is given, the subvolume will be named using the basename of . ++ +( looks like a sub-directory, but is actually a btrfs subvolume rather than a subdirectory.) + -If only is given, the subvolume will be named the basename of . If is not a subvolume, btrfs returns an error. + `Options` + -r:::: Make the new snapshot read only. +-i :::: +Add the new snapshot to a qgroup (quota group). This option can be given multiple times. *sync* [subvolid...]:: Wait until given subvolume(s) are completely removed from the filesystem after