summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-01-03 01:49:24 +0100
committerDavid Sterba <dsterba@suse.cz>2015-01-03 02:30:37 +0100
commit9c469867001cd9d84686b59d10bc704cabae0fb9 (patch)
tree7bac2199c9b83dcf6362f82f8d9c68b98d6f00fa /Documentation
parent3bf2e2e867a9c7dfe65cf6e63ea43966bca57e4b (diff)
btrfs-progs: doc filesystem, sort subcommands alphabetically
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/btrfs-filesystem.txt42
1 files changed, 21 insertions, 21 deletions
diff --git a/Documentation/btrfs-filesystem.txt b/Documentation/btrfs-filesystem.txt
index 2180c97f..d15e7d86 100644
--- a/Documentation/btrfs-filesystem.txt
+++ b/Documentation/btrfs-filesystem.txt
@@ -40,21 +40,8 @@ show sizes in MiB, or MB with --si
show sizes in GiB, or GB with --si
-t|--tbytes::::
show sizes in TiB, or TB with --si
-
-If conflicting options are passed, the last one takes precedence.
-
-*show* [--mounted|--all-devices|<path>|<uuid>|<device>|<label>]::
-Show the btrfs filesystem with some additional info.
+
-If no option nor <path>|<uuid>|<device>|<label> is passed, btrfs shows
-information of all the btrfs filesystem both mounted and unmounted.
-If '--mounted' is passed, it would probe btrfs kernel to list mounted btrfs
-filesystem(s);
-If '--all-devices' is passed, all the devices under /dev are scanned;
-otherwise the devices list is extracted from the /proc/partitions file.
-
-*sync* <path>::
-Force a sync for the filesystem identified by <path>.
+If conflicting options are passed, the last one takes precedence.
*defragment* [options] <file>|<dir> [<file>|<dir>...]::
Defragment file data and/or directory metadata *online*.
@@ -92,6 +79,14 @@ WARNING: defragmenting with kernels up to 2.6.37 will unlink COW-ed copies of da
don't use it if you use snapshots, have de-duplicated your data or made
copies with `cp --reflink`.
+*label* [<dev>|<mountpoint>] [<newlabel>]::
+Show or update the label of a filesystem.
++
+[<device>|<mountpoint>] is used to identify the filesystem.
+If a newlabel optional argument is passed, the label is changed.
++
+NOTE: the maximum allowable length shall be less than 256 chars
+
// Some wording are extracted by the resize2fs man page
*resize* [<devid>:][+/-]<size>[kKmMgGtTpPeE]|[<devid>:]max <path>::
Resize a filesystem identified by <path> for the underlying device
@@ -117,13 +112,18 @@ partition after reducing the size of the filesystem. This can done using
it with the new desired size. When recreating the partition make sure to use
the same starting disk cylinder as before.
-*label* [<dev>|<mountpoint>] [<newlabel>]::
-Show or update the label of a filesystem.
-+
-[<device>|<mountpoint>] is used to identify the filesystem.
-If a newlabel optional argument is passed, the label is changed.
+*show* [--mounted|--all-devices|<path>|<uuid>|<device>|<label>]::
+Show the btrfs filesystem with some additional info.
+
-NOTE: the maximum allowable length shall be less than 256 chars
+If no option nor <path>|<uuid>|<device>|<label> is passed, btrfs shows
+information of all the btrfs filesystem both mounted and unmounted.
+If '--mounted' is passed, it would probe btrfs kernel to list mounted btrfs
+filesystem(s);
+If '--all-devices' is passed, all the devices under /dev are scanned;
+otherwise the devices list is extracted from the /proc/partitions file.
+
+*sync* <path>::
+Force a sync for the filesystem identified by <path>.
*usage* [options] <path> [<path>...]::
Show detailed information about internal filesystem usage.
@@ -150,7 +150,7 @@ show sizes in GiB, or GB with --si
show sizes in TiB, or TB with --si
-T::::
show data in tabular format
-
++
If conflicting options are passed, the last one takes precedence.
EXIT STATUS