forked from Mirrors/btrfs-progs
btrfs-progs: doc filesystem, sort subcommands alphabetically
Signed-off-by: David Sterba <dsterba@suse.cz>master
parent
3bf2e2e867
commit
9c46986700
|
@ -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.
|
||||
*show* [--mounted|--all-devices|<path>|<uuid>|<device>|<label>]::
|
||||
Show the btrfs filesystem with some additional info.
|
||||
+
|
||||
[<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
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue