summaryrefslogtreecommitdiff
path: root/docs-xml
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2017-11-03 10:56:29 +0100
committerJeremy Allison <jra@samba.org>2018-01-06 00:07:17 +0100
commit74eebac975ee913e49c95b29c13a329edb0744e5 (patch)
tree74ccadd6d7c536b9d1fc7bcd7dbcce55d8a5f930 /docs-xml
parent3cbeaf40937082bd7072d715ae02aa0989835432 (diff)
downloadsamba-74eebac975ee913e49c95b29c13a329edb0744e5.tar.gz
vfs_fruit: add "time machine max size" option
This can be used to configure a per client filesystem size limit on TimeMachine shares. It's a nasty hack but it was reportedly working well in Netatalk where it's taken from. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'docs-xml')
-rw-r--r--docs-xml/manpages/vfs_fruit.8.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs-xml/manpages/vfs_fruit.8.xml b/docs-xml/manpages/vfs_fruit.8.xml
index fcaf1737ce8..7f6a0e7c022 100644
--- a/docs-xml/manpages/vfs_fruit.8.xml
+++ b/docs-xml/manpages/vfs_fruit.8.xml
@@ -242,6 +242,24 @@
</varlistentry>
<varlistentry>
+ <term>fruit:time machine max size = SIZE [K|M|G|T|P]</term>
+ <listitem>
+ <para>Useful for Time Machine: limits the reported disksize, thus
+ preventing Time Machine from using the whole real disk space for
+ backup. The option takes a number plus an optional unit.</para>
+ <para><emphasis>IMPORTANT</emphasis>: This is an approximated
+ calculation that only takes into account the contents of Time
+ Machine sparsebundle images. Therefor you <emphasis>MUST
+ NOT</emphasis> use this volume to store other content when using
+ this option, because it would NOT be accounted.</para>
+ <para>The calculation works by reading the band size from the
+ Info.plist XML file of the sparsebundle, reading the bands/
+ directory counting the number of band files, and then multiplying
+ one with the other.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>fruit:metadata = [ stream | netatalk ]</term>
<listitem>
<para>Controls where the OS X metadata stream is stored:</para>