btrfs-progs: doc, undocument old balance syntax

Standalone balance subcommand has been around since 3.3.

Signed-off-by: David Sterba <dsterba@suse.cz>
master
David Sterba 2015-01-03 02:12:56 +01:00
parent 963f2c0a47
commit 38ce4bef83
2 changed files with 10 additions and 8 deletions

View File

@ -7,7 +7,7 @@ btrfs-balance - balance btrfs filesystem
SYNOPSIS
--------
*btrfs [filesystem] balance* <subcommand>|<args>
*btrfs balance* <subcommand> <args>
DESCRIPTION
-----------
@ -16,14 +16,16 @@ multiple or even single device.
See `btrfs-device`(8) for more details about the effect on device management.
NOTE: The balance subcommand also exists under the *filesystem* namespace. This
still works for backward compatibility but is deprecated and should not be
used anymore.
NOTE: A short syntax *btrfs balance <path>* works due to backward compatibility
but is deprecated and should not be used anymore. Use *btrfs balance start*
command instead.
SUBCOMMAND
----------
<path>::
Balance chunks across the devices *online*.
+
*btrfs balance <path>* is deprecated,
please use *btrfs balance start* command instead.
*cancel* <path>::
Cancel running or paused balance.

View File

@ -29,7 +29,7 @@ detailed help of all the matched commands is showed. For example
COMMANDS
--------
*[filesystem] balance*::
*balance*::
Balance btrfs filesystem chunks across single or several devices. +
See `btrfs-balance`(8) for details.