summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-06-01 09:14:25 +0200
committerJim Meyering <meyering@redhat.com>2012-06-01 09:15:37 +0200
commit5fdd5c6310098c5ce3cbc608450d5c4104f18c2f (patch)
tree4bd9d7d1711989acbf515d0f668f1c913e62b46c /src
parent58184f6861894d91dca98cf2572d97fe70316b9b (diff)
downloadcoreutils-5fdd5c6310098c5ce3cbc608450d5c4104f18c2f.tar.xz
stat,tail: recognize new file system type: panfs
* src/stat.c (human_fstype) [__linux__]: Add a 'case' for the new remote file system type: panfs (0xAAD7AAEA). * NEWS (New features): Mention stat -f. (Bug fixes): Mention it for tail -f. Reported by Travis Gummels in http://bugzilla.redhat.com/827199
Diffstat (limited to 'src')
-rw-r--r--src/stat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stat.c b/src/stat.c
index d80c62448..94b63f61d 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -357,6 +357,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "openprom";
case S_MAGIC_OCFS2: /* 0x7461636f remote */
return "ocfs2";
+ case S_MAGIC_PANFS: /* 0xAAD7AAEA remote */
+ return "panfs";
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,