* [PATCH] btrfs-progs: clarify manpage for btrfstune seeding option
@ 2014-05-21 8:03 Gui Hecheng
0 siblings, 0 replies; only message in thread
From: Gui Hecheng @ 2014-05-21 8:03 UTC (permalink / raw)
To: linux-btrfs; +Cc: Gui Hecheng
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>
---
Documentation/btrfstune.txt | 5 +++--
btrfstune.c | 4 ++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/Documentation/btrfstune.txt b/Documentation/btrfstune.txt
index bf4bfce..89d5996 100644
--- a/Documentation/btrfstune.txt
+++ b/Documentation/btrfstune.txt
@@ -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::
diff --git a/btrfstune.c b/btrfstune.c
index 2c26fe9..3f2f0cd 100644
--- a/btrfstune.c
+++ b/btrfstune.c
@@ -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[])
--
1.8.1.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-05-21 8:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-21 8:03 [PATCH] btrfs-progs: clarify manpage for btrfstune seeding option Gui Hecheng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).