Pádraig Brady wrote: > I'm not sure S_MAGIC_PIPEFS should be considered as remote. > That was one of the ones tagged as remote only so that inotify wasn't used > with it.
Thanks; I missed that comment. According to the Linux source code, pipefs cannot be mounted. Therefore I don't think the coreutils 'stat' program or the file_is_remote() function can ever encounter this file system. But anyway: 2025-11-12 Bruno Haible <[email protected]> file-remote: Consider Linux pipefs as local. Reported by Pádraig Brady <[email protected]> in <https://lists.gnu.org/archive/html/bug-gnulib/2025-11/msg00124.html>. * lib/file-remote.c (file_is_remote) [Linux]: Don't consider pipefs as remote. diff --git a/lib/file-remote.c b/lib/file-remote.c index bad7ce011d..b021a28f66 100644 --- a/lib/file-remote.c +++ b/lib/file-remote.c @@ -145,7 +145,6 @@ file_is_remote (const char *file) case 0x7461636F /* S_MAGIC_OCFS2 */: case 0x794C7630 /* S_MAGIC_OVERLAYFS */: case 0xAAD7AAEA /* S_MAGIC_PANFS */: - case 0x50495045 /* S_MAGIC_PIPEFS */: case 0x7C7C6673 /* S_MAGIC_PRL_FS */: case 0x0000517B /* S_MAGIC_SMB */: case 0xFE534D42 /* S_MAGIC_SMB2 */:
