coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Pádraig Brady
Subject: [PATCH] stat,tail: support "RDT" Linux kernel control file system
Date: Wed, 8 Mar 2017 17:55:45 -0800

* src/stat.c (human_fstype): This file system is the user interface
for resource allocation in Intel's Resource Director Technology.
---
 NEWS       | 4 ++++
 src/stat.c | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/NEWS b/NEWS
index 1fc92c8..1d7a454 100644
--- 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]
diff --git a/src/stat.c b/src/stat.c
index 8501b16..d085cd0 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -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 */
-- 
2.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]