the sparse bit

James Peach jpeach at
Mon Nov 22 10:08:32 MST 2010

On Nov 22, 2010, at 5:54 AM, Björn JACKE wrote:

> Hi Tridge/James/Jeremy,
> you all more or less touched the current sparse flag handling of Samba 3. Metze
> and I are just about to implement that like Windows does. That means we report
> all files as being *not* sparse (even if it's not fully allocated on our POSIX
> filesystem) except that the file was flagged to be sparse, which is just
> another bit setting.
> The initial commit introducing the current sparse bit setting was this:
> Is there anything which relies on the current sparse handling that is based on
> the comaprison of size and allocation size?
> James: is there anything regarding this sparseness issues that affetcs Darwin
> smbfs clients?

Not to my knowledge. We push the sparse files capability bit up so that local clients can tell whether the server supports sparse files, but I don't see us using the sparse file attribute at all.

> Cheers
> Björn
> -- 
> SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
> phone: +49-551-370000-0, fax: +49-551-370000-9
> AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen

More information about the samba-technical mailing list