GNU bug report logs - #79267
cp --sparse=auto heuristic fails on a squashfs mounted drive.

Previous Next

Package: coreutils;

Reported by: Jeremy Allison <jallison <at> ciq.com>

Date: Tue, 19 Aug 2025 02:39:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Phillip Lougher <phillip <at> squashfs.org.uk>
Cc: jallison <at> ciq.com, 79267 <at> debbugs.gnu.org
Subject: bug#79267: cp --sparse=auto heuristic fails on a squashfs mounted drive.
Date: Sat, 23 Aug 2025 12:03:08 -0700
On 2025-08-23 11:46, Phillip Lougher wrote:
> As far as Squashfs is concerned SEEK_HOLE/SEEK_DATA is easy to 
> implement.  So I'll think about adding it as a build option.

Thanks, that'll be helpful.

> But this isn't going to fix it for any other case.

Right, and bleeding-edge coreutils already has a (slowish) workaround 
for Squashfs as-is, as well as for other file systems that don't expose 
extents to user code. If I get around to it I will install similar 
workarounds in other user code I help maintain.




This bug report was last modified 17 days ago.

Previous Next


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