* src/stat.c (human_fstype): Add "failfs" (0x4641494C).
* NEWS: Mention the improvement.
---
 NEWS       | 4 ++--
 src/stat.c | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/NEWS b/NEWS
index 84940fbdb..8d1ccb2e3 100644
--- a/NEWS
+++ b/NEWS
@@ -103,9 +103,9 @@ GNU coreutils NEWS                                    -*- 
outline -*-
   from a file.  With -i, entries are preserved exactly, allowing full
   round-tripping of environments containing duplicate or nonstandard entries.
 
-  'stat' and 'tail' now know about the "nullfs" file system type.
+  'stat' and 'tail' now know about the "failfs" and "nullfs" file system types.
   stat -f -c%T now reports the file system type,
-  and tail -f uses inotify for this file system.
+  and tail -f uses inotify for these file systems.
 
   uname adds the -A,--all-labeled option to label all output, one item per 
line.
 
diff --git a/src/stat.c b/src/stat.c
index d3674294a..a29e9a004 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -371,6 +371,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
       return "ext2";
     case S_MAGIC_F2FS: /* 0xF2F52010 local */
       return "f2fs";
+    case S_MAGIC_FAIL_FS: /* 0x4641494C local */
+      return "failfs";
     case S_MAGIC_FAT: /* 0x4006 local */
       return "fat";
     case S_MAGIC_FHGFS: /* 0x19830326 remote */
-- 
2.55.0


Reply via email to