From 3cb231e7970222a7360f982934edc5c6f8475883 Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Mon, 6 Sep 2010 01:58:48 +0000 Subject: Man pages for gluster Signed-off-by: shishir gowda Signed-off-by: Vijay Bellur BUG: 1529 (need man pages for 'gluster' and 'glusterd') URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1529 --- doc/Makefile.am | 4 ++-- doc/gluster.8 | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+), 2 deletions(-) create mode 100644 doc/gluster.8 (limited to 'doc') diff --git a/doc/Makefile.am b/doc/Makefile.am index a29335817..371d1c49c 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,12 +1,12 @@ EXTRA_DIST = glusterfs.vol.sample glusterfsd.vol.sample glusterfs.8 mount.glusterfs.8\ porting_guide.txt authentication.txt coding-standard.pdf get_put_api_using_xattr.txt \ - translator-options.txt mac-related-xattrs.txt replicate.pdf glusterd.vol + translator-options.txt mac-related-xattrs.txt replicate.pdf glusterd.vol glusterfs.8 SUBDIRS = examples hacker-guide voldir = $(sysconfdir)/glusterfs vol_DATA = glusterfs.vol.sample glusterfsd.vol.sample glusterd.vol -man8_MANS = glusterfs.8 mount.glusterfs.8 +man8_MANS = glusterfs.8 mount.glusterfs.8 gluster.8 CLEANFILES = diff --git a/doc/gluster.8 b/doc/gluster.8 new file mode 100644 index 000000000..5354dcda9 --- /dev/null +++ b/doc/gluster.8 @@ -0,0 +1,63 @@ +.\" Copyright (c) 2008-2010 Gluster, Inc. +.\" This file is part of GlusterFS. +.\" +.\" GlusterFS is free software; you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published +.\" by the Free Software Foundation; either version 3 of the License, +.\" or (at your option) any later version. +.\" +.\" GlusterFS is distributed in the hope that it will be useful, but +.\" WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +.\" General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" long with this program. If not, see +.\" . +.\" +.\" +.\" +.TH Gluster 8 "Gluster command line tool" "9 September 2010" "Gluster Inc." +.SH NAME +Gluster \- Gluster command line tool. +.SH SYNOPSYS +.B gluster +.PP +To enter gluster cli +.PP +(or) +.pp + +.B gluster +.I [commands] [options] +.PP +Gluster is a command line tool for dynamic volume management for glusterfs. +.SH DESCRIPTION +Gluster command line tool is used for dynamic volume management. +The tool must be executed on any of the export servers. +Only one instance of tool execution is permitted at a time. +Parallel invocations will return an error to the second and further instances, +with a description of where the first instance is running and what operation it is performing. + +.SH COMMANDS +.PP +Mandatory or optional arguments to long options are also mandatory or optional +for any corresponding short options. +.SS "Basic commands" +.PP +.TP + +\fB\ help \fR +Help +.TP +\fB\ peer \fR +Command for peer management +.TP +\fB\ volume \fR +Command for volume management +.TP +\fB\ quit \fR +Exit from cli. +.TP + +.fi -- cgit