Date: Mon, 23 Aug 2021 21:26:31 +0100 From: Jessica Clarke <jrtc27@freebsd.org> To: Ka Ho Ng <khng@FreeBSD.org> Cc: "src-committers@freebsd.org" <src-committers@FreeBSD.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@FreeBSD.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@FreeBSD.org> Subject: Re: git: 5ee2c35751ef - main - truncate(1): Add hole-punching support Message-ID: <87C913E0-77D4-49BE-816C-E0F3BAA18BC2@freebsd.org> In-Reply-To: <202108191031.17JAViPg067471@gitrepo.freebsd.org> References: <202108191031.17JAViPg067471@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 19 Aug 2021, at 11:31, Ka Ho Ng <khng@FreeBSD.org> wrote: >=20 > The branch main has been updated by khng: >=20 > URL: = https://cgit.FreeBSD.org/src/commit/?id=3D5ee2c35751ef5d131222423bf3e25073= f997c337 >=20 > commit 5ee2c35751ef5d131222423bf3e25073f997c337 > Author: Ka Ho Ng <khng@FreeBSD.org> > AuthorDate: 2021-08-19 10:30:41 +0000 > Commit: Ka Ho Ng <khng@FreeBSD.org> > CommitDate: 2021-08-19 10:30:41 +0000 >=20 > truncate(1): Add hole-punching support >=20 > 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. >=20 > 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=E2=80=99t = exist. Please disable these features when built as a bootstrap tool (see bin/cat for an example). Jess
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87C913E0-77D4-49BE-816C-E0F3BAA18BC2>