diff options
Diffstat (limited to 'Documentation/btrfs-subvolume.txt')
-rw-r--r-- | Documentation/btrfs-subvolume.txt | 32 |
1 files changed, 16 insertions, 16 deletions
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* <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 |