From: David Sterba Date: Sat, 3 Jan 2015 01:27:41 +0000 (+0100) Subject: btrfs-progs: doc subvolume, sort subcommands alphabetically X-Git-Tag: upstream/4.16.1~2466 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=de5c5422753fbb39132457c55496ffcbee846519;p=platform%2Fupstream%2Fbtrfs-progs.git btrfs-progs: doc subvolume, sort subcommands alphabetically Signed-off-by: David Sterba --- diff --git a/Documentation/btrfs-subvolume.txt b/Documentation/btrfs-subvolume.txt index 1360aba..b0ae030 100644 --- a/Documentation/btrfs-subvolume.txt +++ b/Documentation/btrfs-subvolume.txt @@ -75,6 +75,14 @@ wait for transaction commit at the end of the operation -C|--commit-each:::: wait for transaction commit after delet each subvolume +*find-new* :: +List the recently modified files in a subvolume, after ID. + +*get-default* :: +Get the default subvolume of the filesystem . ++ +The output format is similar to *subvolume list* command. + *list* [options] [-G [\+|-]] [-C [+|-]] [--sort=rootid,gen,ogen,path] :: List the subvolumes present in the filesystem . + @@ -127,19 +135,6 @@ you can add \'\+' or \'-' in front of each items, \'+' means ascending, for --sort you can combine some items together by \',', just like -sort=+ogen,-gen,path,rootid. -*snapshot* [-r] |[/]:: -Create a writable/readonly snapshot of the subvolume with the -name in the directory. -+ -If only is given, the subvolume will be named the basename of . -If is not a subvolume, btrfs returns an error. -If '-r' is given, the snapshot will be readonly. - -*get-default* :: -Get the default subvolume of the filesystem . -+ -The output format is similar to *subvolume list* command. - *set-default* :: Set the subvolume of the filesystem which is mounted as default. @@ -147,12 +142,17 @@ default. The subvolume is identified by , which is returned by the *subvolume list* command. -*find-new* :: -List the recently modified files in a subvolume, after ID. - *show* :: Show information of a given subvolume in the . +*snapshot* [-r] |[/]:: +Create a writable/readonly snapshot of the subvolume with the +name in the directory. ++ +If only is given, the subvolume will be named the basename of . +If is not a subvolume, btrfs returns an error. +If '-r' is given, the snapshot will be readonly. + *sync* [subvolid...]:: Wait until given subvolume(s) are completely removed from the filesystem after deletion. If no subvolume id is given, wait until all ongoing deletion