From: Paul Eggert Date: Mon, 3 Nov 2025 19:33:38 +0000 (-0800) Subject: doc: squashfs issue to be squashed in Linux 6.18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c9425336f4fcaa11b9113a6cedce5a6609b726db;p=thirdparty%2Fcoreutils.git doc: squashfs issue to be squashed in Linux 6.18 --- diff --git a/NEWS b/NEWS index 2802c0c7b1..fa14e7a2cd 100644 --- a/NEWS +++ b/NEWS @@ -51,8 +51,9 @@ GNU coreutils NEWS -*- outline -*- ** Changes in behavior 'cp' with default options may again, like with versions before v9.8, - miss opportunities to create holes with file systems like squashfs, - that support SEEK_HOLE only trivially. + miss opportunities to create holes with file systems that support + SEEK_HOLE only trivially. This change is a consequence of the + abovementioned copy offload fix. 'sort --compress-program' will continue without compressing temporary files if the specified program cannot be executed. Also malformed shell scripts diff --git a/src/copy-file-data.c b/src/copy-file-data.c index c46b7edc52..125cf78569 100644 --- a/src/copy-file-data.c +++ b/src/copy-file-data.c @@ -480,8 +480,9 @@ infer_scantype (int fd, struct stat const *sb, off_t pos, return LSEEK_SCANTYPE; /* Though the file may have holes, SEEK_DATA and SEEK_HOLE - didn't find any. This can happen with file systems like - circa-2025 squashfs that support SEEK_HOLE only trivially. + didn't find any. This can happen with file systems + that support SEEK_HOLE only trivially, + such as squashfs in Linux kernel 6.17 and earlier. This can also happen due to transparent file compression, which can also indicate fewer than the usual number of blocks. */