| 1 |
<samba:parameter name="share:fake_fscaps" |
| 2 |
context="S" |
| 3 |
type="string" |
| 4 |
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> |
| 5 |
<description> |
| 6 |
<para> |
| 7 |
This is needed to support some special applications that makes use of |
| 8 |
filesystem specific features like sparse files or block reflink copy. |
| 9 |
</para> |
| 10 |
|
| 11 |
<para> |
| 12 |
With <smbconfoption name="share:fake_fscaps">64</smbconfoption> |
| 13 |
the SPARSE_FILES (0x40) file system capability flag is set. |
| 14 |
</para> |
| 15 |
<para> |
| 16 |
With <smbconfoption name="share:fake_fscaps">134217728</smbconfoption> |
| 17 |
the SUPPORTS_BLOCK_REFCOUNTING (0x8000000) file system capability flag |
| 18 |
is set. As of this writing, filesystems that support this feature are |
| 19 |
BTRFS, XFS and ZFS. |
| 20 |
</para> |
| 21 |
<para> |
| 22 |
The complete list can be found in MS-FSCC 2.5.1 |
| 23 |
FileFsAttributeInformation. Note that only decimal values can be used |
| 24 |
in the configuration. |
| 25 |
</para> |
| 26 |
|
| 27 |
</description> |
| 28 |
<value type="default">0</value> |
| 29 |
</samba:parameter> |