git: 5ee2c35751ef - main - truncate(1): Add hole-punching support
Jessica Clarke
jrtc27 at freebsd.org
Mon Aug 23 20:26:40 UTC 2021
On 19 Aug 2021, at 11:31, Ka Ho Ng <khng at FreeBSD.org> wrote:
>
> The branch main has been updated by khng:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=5ee2c35751ef5d131222423bf3e25073f997c337
>
> commit 5ee2c35751ef5d131222423bf3e25073f997c337
> Author: Ka Ho Ng <khng at FreeBSD.org>
> AuthorDate: 2021-08-19 10:30:41 +0000
> Commit: Ka Ho Ng <khng at FreeBSD.org>
> CommitDate: 2021-08-19 10:30:41 +0000
>
> truncate(1): Add hole-punching support
>
> This commit adds hole-punching support to the truncate(1) utility. If
> the option -d is specified, truncate(1) performs zeroing, and if
> possible hole-punching in case the operation is supported by the
> underlying file system of the specified files.
>
> Sponsored by: The FreeBSD Foundation
> Reviewed by: kib
> Differential Revision: https://reviews.freebsd.org/D31556
This broke cross-building from macOS and Linux since truncate is a
bootstrap tool there and these FreeBSD-specific features don’t exist.
Please disable these features when built as a bootstrap tool (see
bin/cat for an example).
Jess
More information about the dev-commits-src-all
mailing list