From: Pádraig Brady Date: Thu, 9 Mar 2017 01:48:15 +0000 (-0800) Subject: stat,tail: support "RDT" Linux kernel control file system X-Git-Tag: v8.27~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79a5cb161d067655e750ded80105b1e8b1108890;p=thirdparty%2Fcoreutils.git 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. --- 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 */