From: Pádraig Brady Date: Wed, 21 Jan 2026 16:29:03 +0000 (+0000) Subject: stat,tail: sync with latest Linux file systems X-Git-Tag: v9.10~37 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=28c29d103e4d321520d8d969b2d0a5cb2d245696;p=thirdparty%2Fcoreutils.git stat,tail: sync with latest Linux file systems * src/stat.c (human_fstype): Add "guest-memfd". * NEWS: Mention the improvement. --- diff --git a/NEWS b/NEWS index b74c19f1ff..e965e96ebd 100644 --- a/NEWS +++ b/NEWS @@ -54,6 +54,10 @@ GNU coreutils NEWS -*- outline -*- This augments the existing "symlinks" and "shebangs" modes already supported by the --enable-single-binary option. + 'stat and 'tail' now know about the "guest-memfd" file system type. + stat -f -c%T now reports the file system type, + and tail -f uses polling for this file system. + 'tail' now accepts the --debug option, which is currently used to detail the --follow implementation being used. diff --git a/src/stat.c b/src/stat.c index fcca0a769a..69042fe525 100644 --- a/src/stat.c +++ b/src/stat.c @@ -385,6 +385,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) return "gfs/gfs2"; case S_MAGIC_GPFS: /* 0x47504653 remote */ return "gpfs"; + case S_MAGIC_GUEST_MEMFD: /* 0x474D454D remote */ + return "guest-memfd"; case S_MAGIC_HFS: /* 0x4244 local */ return "hfs"; case S_MAGIC_HFS_PLUS: /* 0x482B local */