summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-12-26 16:09:48 +0100
committerJim Meyering <meyering@redhat.com>2011-12-26 16:37:55 +0100
commitb1230020dc5c5acc9f9ab16c3c397c0aecb5977b (patch)
tree65ad09903d18cb83fce697b91aac32a10f5e46f3 /src
parentb2a6fb0ac925831f8b96f54e10633f24b7b33f12 (diff)
downloadcoreutils-b1230020dc5c5acc9f9ab16c3c397c0aecb5977b.tar.xz
stat,tail: recognize new FS type: pipefs
* src/stat.c (human_fstype) [S_MAGIC_PIPEFS]: New case. * NEWS (Bug fixes): Mention this.
Diffstat (limited to 'src')
-rw-r--r--src/stat.c5
1 files changed, 5 insertions, 0 deletions
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 */