GNU bug report logs - #79139
cp --reflink truncates sparse files on ZFS

Previous Next

Package: coreutils;

Reported by: Leah Neukirchen <leah <at> vuxu.org>

Date: Fri, 1 Aug 2025 15:02:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Full log


Message #34 received at 79139-done <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>, bug-gnulib <at> gnu.org,
 Collin Funk <collin.funk1 <at> gmail.com>
Cc: bug-gnulib <at> gnu.org, 79139-done <at> debbugs.gnu.org,
 Pádraig Brady <P <at> draigbrady.com>,
 Leah Neukirchen <leah <at> vuxu.org>
Subject: Re: bug#79139: cp --reflink truncates sparse files on ZFS
Date: Sat, 02 Aug 2025 06:15:37 +0200
Paul Eggert wrote:
> +#   if defined __GLIBC__ && ! (2 < __GLIBC__ + (43 <= __GLIBC_MINOR__))

This line is mis-indented.

> +      /* Work around glibc bug 33245

It would be good to document the workaround in
doc/glibc-functions/copy_file_range.texi.

Collin Funk wrote:
> Can't we make this condition only occur for glibc 2.41 and glibc 2.42?
> The issue shouldn't occur before commit
> 89b53077d2a58f00e7debdfe58afabe953dac60d in glibc (2024-06-25).

Users are supposed to be able to create binaries with an older version of
glibc, then upgrade their glibc. The binaries should continue to work.

Bruno







This bug report was last modified 11 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.