btrfs-progs: doc subvolume, sort subcommands alphabetically

Signed-off-by: David Sterba <dsterba@suse.cz>
master
David Sterba 2015-01-03 02:27:41 +01:00
parent 037532d05c
commit de5c542275
1 changed files with 16 additions and 16 deletions

View File

@ -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* <subvolume> <last_gen>::
List the recently modified files in a subvolume, after <last_gen> ID.
*get-default* <path>::
Get the default subvolume of the filesystem <path>.
+
The output format is similar to *subvolume list* command.
*list* [options] [-G [\+|-]<value>] [-C [+|-]<value>] [--sort=rootid,gen,ogen,path] <path>::
List the subvolumes present in the filesystem <path>.
+
@ -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] <source> <dest>|[<dest>/]<name>::
Create a writable/readonly 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.
*get-default* <path>::
Get the default subvolume of the filesystem <path>.
+
The output format is similar to *subvolume list* command.
*set-default* <id> <path>::
Set the subvolume of the filesystem <path> which is mounted as
default.
@ -147,12 +142,17 @@ default.
The subvolume is identified by <id>, which is returned by the *subvolume list*
command.
*find-new* <subvolume> <last_gen>::
List the recently modified files in a subvolume, after <last_gen> ID.
*show* <path>::
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
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.
*sync* <path> [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