]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
stat,tail: support "RDT" Linux kernel control file system
authorPádraig Brady <P@draigBrady.com>
Thu, 9 Mar 2017 01:48:15 +0000 (17:48 -0800)
committerPádraig Brady <P@draigBrady.com>
Thu, 9 Mar 2017 01:55:09 +0000 (17:55 -0800)
* src/stat.c (human_fstype): This file system is the user interface
for resource allocation in Intel's Resource Director Technology.

NEWS
src/stat.c

diff --git a/NEWS b/NEWS
index 1fc92c84e6947c7fd78984ae6fda99372ddb8c6b..1d7a4546d809793484f878439bc825d13d4323e5 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -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]
index 8501b16bd35b4599c3de779e2a0564877ebf4754..d085cd059c2b9748cf41d042ae5afb46279075d5 100644 (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 */