stat,tail: support "RDT" Linux kernel control file system

* src/stat.c (human_fstype): This file system is the user interface
for resource allocation in Intel's Resource Director Technology.
This commit is contained in:
Pádraig Brady 2017-03-08 17:48:15 -08:00
parent 280d421375
commit 79a5cb161d
2 changed files with 6 additions and 0 deletions

4
NEWS
View File

@ -20,6 +20,10 @@ GNU coreutils NEWS -*- outline -*-
158909489063877810457 and 222087527029934481871.
[bug introduced in coreutils-8.20]
stat and tail now know about the "rdt" file system, which is an interface
to Resource Director Technology. stat -f --format=%T now reports the
file system type, and tail -f uses inotify.
tail no longer prints redundant file headers with interleaved inotify events,
which could be triggered especially when tail was suspended and resumed.
[bug introduced with inotify support added in coreutils-7.5]

View File

@ -428,6 +428,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "qnx6";
case S_MAGIC_RAMFS: /* 0x858458F6 local */
return "ramfs";
case S_MAGIC_RDTGROUP: /* 0x07655821 local */
return "rdt";
case S_MAGIC_REISERFS: /* 0x52654973 local */
return "reiserfs";
case S_MAGIC_ROMFS: /* 0x7275 local */