Re: [Question] UFS/FFS: why a block is always allocated at EOF when truncating up

Frank Leonhardt <[email protected]>
Newsgroups gmane.os.freebsd.devel.file-systems
Message-ID <[email protected]>
On 19/03/2026 15:03, Dag-Erling Smørgrav wrote:
> David Timber <[email protected]> writes:
>> SEEK_DATA and SEEK_HOLE are rather recent addition to the spec, so it
>> seems that only the three "Unices" (Solaris, FreeBSD, Linux) implement
>> them at the moment.
> XNU (macOS, iOS etc.) has them too. They seem to have been added in
> 2017, ten years after FreeBSD got them.

I think they were added at 10.15, which is even more recent and were 
considered quite buggy* until 12.0. Odd, because APFS does support 
sparse files.

Regards, Frank.

* I'm relying on others for this vibe.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.