diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/stat.c | 5 |
2 files changed, 7 insertions, 0 deletions
@@ -25,6 +25,8 @@ GNU coreutils NEWS -*- outline -*- and NcFsd file systems. This did not affect Unix/Linux-based kernels. [bug introduced in coreutils-8.0, when rm began using fts] + stat -f now recognizes the FhGFS and PipeFS file system types. + tac no longer fails to handle two or more non-seekable inputs [bug introduced in coreutils-5.3.0] diff --git a/src/stat.c b/src/stat.c index cb9a63cd3..d4de6c790 100644 --- a/src/stat.c +++ b/src/stat.c @@ -349,6 +349,11 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) return "openprom"; case S_MAGIC_OCFS2: /* 0x7461636f remote */ return "ocfs2"; + case S_MAGIC_PIPEFS: /* 0x50495045 remote */ + /* FIXME: change syntax or add an optional attribute like "inotify:no". + The above is labeled as "remote" so that tail always uses polling, + but this isn't really a remote file system type. */ + return "pipefs"; case S_MAGIC_PROC: /* 0x9FA0 local */ return "proc"; case S_MAGIC_PSTOREFS: /* 0x6165676C local */ |