| 1 |
<samba:parameter name="max disk size" |
| 2 |
context="G" |
| 3 |
type="bytes" |
| 4 |
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> |
| 5 |
<description> |
| 6 |
<para>This option allows you to put an upper limit |
| 7 |
on the apparent size of disks. If you set this option to 100 |
| 8 |
then all shares will appear to be not larger than 100 MB in |
| 9 |
size.</para> |
| 10 |
|
| 11 |
<para>Note that this option does not limit the amount of |
| 12 |
data you can put on the disk. In the above case you could still |
| 13 |
store much more than 100 MB on the disk, but if a client ever asks |
| 14 |
for the amount of free disk space or the total disk size then the |
| 15 |
result will be bounded by the amount specified in <parameter moreinfo="none">max |
| 16 |
disk size</parameter>.</para> |
| 17 |
|
| 18 |
<para>This option is primarily useful to work around bugs |
| 19 |
in some pieces of software that can't handle very large disks, |
| 20 |
particularly disks over 1GB in size.</para> |
| 21 |
|
| 22 |
<para>A <parameter moreinfo="none">max disk size</parameter> of 0 means no limit.</para> |
| 23 |
</description> |
| 24 |
|
| 25 |
<value type="default">0</value> |
| 26 |
<value type="example">1000</value> |
| 27 |
</samba:parameter> |