bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#79139: cp --reflink truncates sparse files on ZFS


From: Paul Eggert
Subject: bug#79139: cp --reflink truncates sparse files on ZFS
Date: Sat, 2 Aug 2025 09:03:38 -0700
User-agent: Mozilla Thunderbird

On 2025-08-02 01:32, PƔdraig Brady wrote:

it's worth mentioning run-time vs build-time checks.

Yes, and this could be documented more. I installed the attached.

For reference I made some notes on various version compat at:
http://pixelbeat/programming/linux_binary_compatibility.html

I needed to use this URL:

https://www.pixelbeat.org/programming/linux_binary_compatibility.html

the gnulib workaround isn't too onerous as SYS_BUFZISE_MAX is large,
and I expect the glibc fix will be backported to glibc 2.41 systems promptly anyway.

Yes, I went through similar thought processes. It didn't seem worth the hassle to do the extra glibc runtime checks. Gnulib has always used static checks for glibc versions, even in areas where this is serious business (e.g., malloc misbehavior). So far, nobody has reported an issue for this. Maybe people who build for older kernels (which is dubious if you ask me) aren't building for older glibcs (which is even more dubious).

Attachment: 0001-More-copy_file_range-commentary.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]