* src/stat.c (human_fstype): Add case for the 'secretmem' file system type. * NEWS: Mention the Improvement. --- NEWS | 6 +++--- src/stat.c | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/NEWS b/NEWS index 74970a475..0772e7e52 100644 --- a/NEWS +++ b/NEWS @@ -133,9 +133,9 @@ GNU coreutils NEWS -*- outline -*- rmdir now clarifies the error if a symlink_to_dir/ has not been traversed. This is the case on GNU/Linux systems, where the trailing slash is ignored. - stat and tail now know about the "devmem", "exfat", "vboxsf", and "zonefs" - file system types. stat -f -c%T now reports the file system type, - and tail -f uses polling for "vboxsf" and inotify for the others. + stat and tail now know about the "devmem", "exfat", "secretmem", "vboxsf", + and "zonefs" file system types. stat -f -c%T now reports the file system + type, and tail -f uses polling for "vboxsf" and inotify for the others. timeout now supports sub-second timeouts on macOS. diff --git a/src/stat.c b/src/stat.c index 867e91ce0..0c34501e3 100644 --- a/src/stat.c +++ b/src/stat.c @@ -493,6 +493,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) return "rpc_pipefs"; case S_MAGIC_SDCARDFS: /* 0x5DCA2DF5 local */ return "sdcardfs"; + case S_MAGIC_SECRETMEM: /* 0x5345434D local */ + return "secretmem"; case S_MAGIC_SECURITYFS: /* 0x73636673 local */ return "securityfs"; case S_MAGIC_SELINUX: /* 0xF97CFF8C local */ -- 2.26.2