From 79a5cb161d067655e750ded80105b1e8b1108890 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Wed, 8 Mar 2017 17:48:15 -0800 Subject: [PATCH] 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. --- NEWS | 4 ++++ src/stat.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/NEWS b/NEWS index 1fc92c84e6..1d7a4546d8 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 8501b16bd3..d085cd059c 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.47.2