From: Ralph Boehme Date: Wed, 5 Jun 2024 12:40:15 +0000 (+0200) Subject: docs: document SUPPORTS_BLOCK_REFCOUNTING for share:fake_fscaps X-Git-Tag: tdb-1.4.13~1381 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1c4e2ba842cb379d1cb7c520643e523de711921d;p=thirdparty%2Fsamba.git docs: document SUPPORTS_BLOCK_REFCOUNTING for share:fake_fscaps Signed-off-by: Ralph Boehme Reviewed-by: David Disseldorp --- diff --git a/docs-xml/smbdotconf/protocol/sharefakefscaps.xml b/docs-xml/smbdotconf/protocol/sharefakefscaps.xml index 31e7ebc0e75..2f90d0be867 100644 --- a/docs-xml/smbdotconf/protocol/sharefakefscaps.xml +++ b/docs-xml/smbdotconf/protocol/sharefakefscaps.xml @@ -3,15 +3,25 @@ type="string" xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> + + This is needed to support some special applications that makes use of + filesystem specific features like sparse files or block reflink copy. + - This is needed to support some special application that makes - QFSINFO calls to check whether we set the SPARSE_FILES bit - (0x40). If this bit is not set that particular application - refuses to work against - Samba. With 64 - the SPARSE_FILES file system capability flag is set. Use other - decimal values to specify the bitmask you need to fake. + With 64 + the SPARSE_FILES (0x40) file system capability flag is set. + + + With 134217728 + the SUPPORTS_BLOCK_REFCOUNTING (0x8000000) file system capability flag + is set. As of this writing, filesystems that support this feature are + BTRFS, XFS and ZFS. + + + The complete list can be found in MS-FSCC 2.5.1 + FileFsAttributeInformation. Note that only decimal values can be used + in the configuration.