summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2009-01-06 10:26:37 +0100
committerKarolin Seeger <kseeger@samba.org>2009-01-06 10:30:13 +0100
commit9f44a17c3bf36067d04cec036c3e529798932cd7 (patch)
tree044baecdde436751a99eb55f1a167b1f73aa8cb1
parent75e240656407ad194c813e1e7b7a7acf370197ba (diff)
downloadsamba-9f44a17c3bf36067d04cec036c3e529798932cd7.tar.gz
samba-9f44a17c3bf36067d04cec036c3e529798932cd7.tar.bz2
samba-9f44a17c3bf36067d04cec036c3e529798932cd7.zip
docs: Fix example in man vfs_recycle.
This fixes bug #6001. Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting! Karolin
-rw-r--r--docs-xml/manpages-3/vfs_recycle.8.xml13
1 files changed, 8 insertions, 5 deletions
diff --git a/docs-xml/manpages-3/vfs_recycle.8.xml b/docs-xml/manpages-3/vfs_recycle.8.xml
index ca95f881b7..d7890e7678 100644
--- a/docs-xml/manpages-3/vfs_recycle.8.xml
+++ b/docs-xml/manpages-3/vfs_recycle.8.xml
@@ -185,14 +185,17 @@
<refsect1>
<title>EXAMPLES</title>
- <para>Log operations on all shares using the LOCAL1 facility
- and NOTICE priority:</para>
+ <para>Move files "deleted" on <parameter>share</parameter> to
+ <parameter>/data/share/.recycle</parameter> instead of deleting them:
+ </para>
<programlisting>
- <smbconfsection name="[global]"/>
+ <smbconfsection name="[share]"/>
+ <smbconfoption name="path">/data/share</smbconfoption>
<smbconfoption name="vfs objects">recycle</smbconfoption>
- <smbconfoption name="recycle:facility">LOCAL1</smbconfoption>
- <smbconfoption name="recycle:priority">NOTICE</smbconfoption>
+ <smbconfoption name="recycle:repository">.recycle</smbconfoption>
+ <smbconfoption name="recycle:keeptree">yes</smbconfoption>
+ <smbconfoption name="recycle:versions">yes</smbconfoption>
</programlisting>
</refsect1>