]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
man: update with latest args
authorSage Weil <sage@newdream.net>
Thu, 12 Mar 2009 23:46:16 +0000 (16:46 -0700)
committerSage Weil <sage@newdream.net>
Thu, 12 Mar 2009 23:46:16 +0000 (16:46 -0700)
man/cconf.8
man/cmds.8
man/cmon.8
man/mkmonfs.8

index 32bb7ff01c07ee077adbb9081a75442b1665f9ba..a6c7b027ca0f8840580ca3f0e1d5e6620ecc6d52 100644 (file)
@@ -3,23 +3,36 @@
 cconf \- ceph conf file tool
 .SH SYNOPSIS
 .B cconf
-\fB\-c \fIconffile\fR
-( \fB\-l \fIprefix\fR | \fIkey\fR [ \fIdefault\fR ] \fB\-s \fIsection\fR [ \fB\-s \fIsection2\fI ... ] )
+\fB\-c \fIconffile\fR \fB\-l \fIprefix\fR
+.br
+.B cconf
+\fIkey\fR [ \fIdefault\fR ] \fB\-s \fIsection1\fR ...
+.br
+.B cconf
+\fIkey\fR [ \fIdefault\fR ] \fB\-i \fIid\fR \fB\-t \fItype\fR
 .SH DESCRIPTION
 .B cconf
 is a utility for extracting values from a "INI" style configuration files.  It has
-two basic modes of operation.
+three basic modes of operation.
 .PP
 The first mode simply prints all section names that begin with \fIprefix\fP.
 .PP
 The second mode extracts an option value by searching through one or more \fIsection\fPs,
 in the order specified on the command line.  If the option does not exist in
+.PP
+The third mode will look in the standard section names for the given daemon \fIid\fR
+of type \fItype\fR.
 \fIconffile\fP, an optional \fIdefault\fP value may be output instead.
+.PP
 .SH EXAMPLES
-To extract the value of the "osd data" option from section \fI[osd0]\fP,
+To extract the value of the "osd data" option for the \fIosd0\fP daemon,
+.IP
+cconf -c foo.conf "osd data" -i 0 -t osd
+.PP
+This is equivalent to doing specifying sections \fI[osd0]\fP, \fI[osd.0]\fP,
 \fI[osd]\fP, or \fI[global]\fP, in that order of preference:
 .IP
-cconf -c foo.conf "osd data" -s osd0 -s osd -s global
+cconf -c foo.conf "osd data" -s osd0 -s osd.0 -s osd -s global
 .PP
 To list all sections that begin with \fIosd\fP:
 .IP
index 9b6b86aabc1403e04d99c908b5aaa145770f84d8..e4ec2e87247e7276af701e04e41e8d95076e367b 100644 (file)
@@ -3,7 +3,7 @@
 cmds \- ceph metadata server daemon
 .SH SYNOPSIS
 .B cmds
-\fB\- \fIname\fR
+\fB\-i \fIname\fR
 [ \fB\-\-rank\fI rank\fR ]
 [ \fB\-\-shadow\fI rank\fR ]
 .SH DESCRIPTION
index 176704f163129c2b647108091e675da1b5b50941..6903f2cb4d7fdb943491678d25f56a1efada677a 100644 (file)
@@ -14,7 +14,8 @@ extremely reliable and durable storage of cluster membership, configuration,
 and state.
 .PP
 The \fImondatapath\fP refers to a directory on a local file system
-storing monitor data.  
+storing monitor data.  It is normally specified via the "mon data" option
+in the configuration file.
 .SH OPTIONS
 .TP
 \fB\-D\fP
index 13ed07f10c00178b913f294900c9a6ca829afc89..4efc1f6db2f5915bc5d42415cf183d73074286ea 100644 (file)
@@ -3,8 +3,8 @@
 mkmonfs \- create a ceph monitor data store
 .SH SYNOPSIS
 .B mkmonfs
-\fIdatadir\fR
 \fB\-i \fImonid\fR
+\fB\-\-mon\-data \fIdatadir\fR
 \fB\-\-monmap \fImonmapfile\fR
 \fB\-\-osdmap \fIosdmapfile\fR
 [ \fB\-\-clobber\fR ]