btrfs-progs: clarify manpage for btrfstune seeding option

The btrfstune -S option accepts a positive value to enable seeding,
and a zero to disable seeding, negtive is not allowed.

Add "positive, zero, negative" sentences to btrfstune manpage.

Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
master
Gui Hecheng 2014-05-21 16:03:57 +08:00 committed by David Sterba
parent 7165d9024d
commit 8bf2f988bb
2 changed files with 5 additions and 4 deletions

View File

@ -17,8 +17,9 @@ enable/disable some extended features for btrfs.
OPTIONS
-------
-S <value>::
Updates the seeding value, it forces a fs readonly so that you can use it to
build other filesystems.
Updates the seeding value.
A positive value will enable seeding, zero will disable seeding, negtive is not allowed.
Enable seeding forces a fs readonly so that you can use it to build other filesystems.
-r::
Enable extended inode refs.
-x::

View File

@ -100,9 +100,9 @@ static int enable_skinny_metadata(struct btrfs_root *root)
static void print_usage(void)
{
fprintf(stderr, "usage: btrfstune [options] device\n");
fprintf(stderr, "\t-S value\tenable/disable seeding\n");
fprintf(stderr, "\t-S value\tpositive value will enable seeding, zero to disable, negative is not allowed\n");
fprintf(stderr, "\t-r \t\tenable extended inode refs\n");
fprintf(stderr, "\t-x enable skinny metadata extent refs\n");
fprintf(stderr, "\t-x \t\tenable skinny metadata extent refs\n");
}
int main(int argc, char *argv[])