From de5c5422753fbb39132457c55496ffcbee846519 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Sat, 3 Jan 2015 02:27:41 +0100 Subject: btrfs-progs: doc subvolume, sort subcommands alphabetically Signed-off-by: David Sterba --- Documentation/btrfs-subvolume.txt | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'Documentation') diff --git a/Documentation/btrfs-subvolume.txt b/Documentation/btrfs-subvolume.txt index 1360aba8..b0ae030e 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 -- cgit v1.2.3