From 7a54dad08c63cde0ca7bac77d2103683905edd35 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Sun, 24 Mar 2013 09:35:19 +0100 Subject: [PATCH] Add afpstats manpage and update afp.conf --- man/man1/.gitignore | 2 +- man/man1/Makefile.am | 4 ++-- man/man1/afpstats.1.tmpl | 50 ++++++++++++++++++++++++++++++++++++++++ man/man5/afp.conf.5.tmpl | 2 +- 4 files changed, 54 insertions(+), 4 deletions(-) create mode 100644 man/man1/afpstats.1.tmpl diff --git a/man/man1/.gitignore b/man/man1/.gitignore index c767a967..39ffeb2f 100644 --- a/man/man1/.gitignore +++ b/man/man1/.gitignore @@ -6,6 +6,6 @@ apple_mv.1 apple_rm.1 asip-status.pl.1 afpldaptest.1 +afpstats.1 uniconv.1 -.gitignore *.o diff --git a/man/man1/Makefile.am b/man/man1/Makefile.am index fe81a7d7..20dede4e 100644 --- a/man/man1/Makefile.am +++ b/man/man1/Makefile.am @@ -12,8 +12,8 @@ SUFFIXES= .tmpl . -e s@:DEFAULT_CNID_SCHEME:@${DEFAULT_CNID_SCHEME}@ \ <$< >$@ -GENERATED_MANS = uniconv.1 asip-status.pl.1 afpldaptest.1 -TEMPLATE_FILES = uniconv.1.tmpl asip-status.pl.1.tmpl afpldaptest.1.tmpl +GENERATED_MANS = uniconv.1 asip-status.pl.1 afpldaptest.1 afpstats.1 +TEMPLATE_FILES = uniconv.1.tmpl asip-status.pl.1.tmpl afpldaptest.1.tmpl afpstats.1.tmpl NONGENERATED_MANS = ad.1 \ afppasswd.1 \ diff --git a/man/man1/afpstats.1.tmpl b/man/man1/afpstats.1.tmpl new file mode 100644 index 00000000..b7980996 --- /dev/null +++ b/man/man1/afpstats.1.tmpl @@ -0,0 +1,50 @@ +'\" t +.\" Title: afpstats +.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] +.\" Generator: DocBook XSL Stylesheets v1.78.0 +.\" Date: 24 Mar 2013 +.\" Manual: Netatalk 3.0 +.\" Source: Netatalk 3.0 +.\" Language: English +.\" +.TH "AFPSTATS" "1" "24 Mar 2013" "Netatalk 3.0" "Netatalk 3.0" +.\" ----------------------------------------------------------------- +.\" * Define some portability stuff +.\" ----------------------------------------------------------------- +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" http://bugs.debian.org/507673 +.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" ----------------------------------------------------------------- +.\" * set default formatting +.\" ----------------------------------------------------------------- +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.\" ----------------------------------------------------------------- +.\" * MAIN CONTENT STARTS HERE * +.\" ----------------------------------------------------------------- +.SH "NAME" +afpstats \- List AFP statistics +.SH "SYNOPSIS" +.HP \w'\fBafpstats\fR\fB\fR\ 'u +\fBafpstats\fR\fB\fR +.SH "DESCRIPTION" +.PP +\fBafpstats\fR +list AFP statistics via D\-Bus IPC\&. +.SH "NOTE" +.PP +\fBafpd\fR +must support D\-Bus\&. Check it by "\fBafpd \-V\fR"\&. +.PP +"\fBafpstats = yes\fR" must be set in +:ETCDIR:/afp\&.conf\&. +.SH "SEE ALSO" +.PP +\fBafpd\fR(8), +\fBafp.conf\fR(5), +\fBdbus-daemon\fR(1) diff --git a/man/man5/afp.conf.5.tmpl b/man/man5/afp.conf.5.tmpl index 6840bf7d..60ec8d0e 100644 --- a/man/man5/afp.conf.5.tmpl +++ b/man/man5/afp.conf.5.tmpl @@ -1035,7 +1035,7 @@ The default setting is false thus symlinks are not followed on the server\&. Thi .PP invisible dots = \fIBOOLEAN\fR (default: \fIno\fR) \fB(V)\fR .RS 4 -make dot files invisible\&. +make dot files invisible\&. WARNING: enabling this option will lead to unwanted sideeffects were OS X applications when saving files to a temporary file starting with a dot first, then renaming the temp file to its final name, result in the saved file being invisible\&. The only thing this option is useful for is making files that start with a dot invisible on Mac OS 9\&. It\*(Aqs completely useless on Mac OS X, as both in Finder and in Terminal files starting with a dot are hidden anyway\&. .RE .PP network ids = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(V)\fR -- 2.39.2