master - man: clvmd updates
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=422d1ac8d244e1d7c5e122c54efe0ad67ce98d04 Commit: 422d1ac8d244e1d7c5e122c54efe0ad67ce98d04 Parent: 5226181329fe9f810495cbc348942708dacc8d0e Author: Zdenek Kabelac <[email protected]> AuthorDate: Wed Nov 19 01:04:24 2014 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Wed Nov 19 01:09:52 2014 +0100
man: clvmd updates
- closer to the recommendation of man-pages (7) if possible
- Add crossrefs
- Sort options and crossrefs
- Fix default timeout (60 secs) of -t
- Documents -I[auto]
Signed-off-by St??phane Aulery <[email protected]>
--- daemons/clvmd/clvmd.c | 16 +++++----- man/clvmd.8.in | 69 +++++++++++++++++++++++++++---------------------- 2 files changed, 46 insertions(+), 39 deletions(-)
daemons/clvmd/clvmd.c +8 -8
@@ -153,16 +153,11 @@ static if_type_t get_cluster_type(void);static void usage (const char *prog,FILE *file) {fprintf (file,"Usage: %s [options]\n" -" -V Show version of clvmd\n" -" -h Show this help information\n" +" -C Sets debug level (from -d) on all clvmd instances clusterwide\n" " -d[n] Set debug logging (0:none, 1:stderr (implies -f option), 2:syslog)\n" +" -E<uuid> Take this lock uuid as exclusively locked resource (for restart)\n" " -f Don't fork, run in the foreground\n" -" -E<lockuuid> Take this lock uuid as exclusively locked resource (for restart)\n" -" -R Tell all running clvmds in the cluster to reload their device cache\n" -" -S Restart clvmd, preserving exclusive locks\n" -" -C Sets debug level (from -d) on all clvmd instances clusterwide\n" -" -t<secs> Command timeout (default 60 seconds)\n" -" -T<secs> Startup timeout (default none)\n" +" -h Show this help information\n" " -I<cmgr> Cluster manager (default: auto)\n" " Available cluster managers: " #ifdef USE_COROSYNC
@@ -177,6 +172,11 @@ static void usage(const char *prog, FILE *file)#ifdef USE_SINGLENODE "singlenode " #endif +" -R Tell all running clvmds in the cluster to reload their device cache\n" +" -S Restart clvmd, preserving exclusive locks\n" +" -t<secs> Command timeout (default: 60 seconds)\n" +" -T<secs> Startup timeout (default: 0 seconds)\n" +" -V Show version of clvmd\n" "\n", prog); }
man/clvmd.8.in +38 -31
106 lines not on this page · raw message