1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 02:36:16 +02:00

stat,tail: add support for the secretmem file system

* src/stat.c (human_fstype): Add case for the 'secretmem'
file system type.
* NEWS: Mention the Improvement.
This commit is contained in:
Pádraig Brady
2021-09-16 15:21:05 +01:00
parent cca434a4a5
commit 92ffc842dc
2 changed files with 5 additions and 3 deletions

6
NEWS
View File

@@ -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.

View File

@@ -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 */