From 1c4e2ba842cb379d1cb7c520643e523de711921d Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Wed, 5 Jun 2024 14:40:15 +0200 Subject: [PATCH] docs: document SUPPORTS_BLOCK_REFCOUNTING for share:fake_fscaps Signed-off-by: Ralph Boehme Reviewed-by: David Disseldorp --- .../smbdotconf/protocol/sharefakefscaps.xml | 24 +++++++++++++------ 1 file changed, 17 insertions(+), 7 deletions(-) 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. -- 2.47.3