summaryrefslogtreecommitdiff
path: root/src/stat.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-06-30 18:19:53 +0200
committerJim Meyering <meyering@redhat.com>2012-06-30 18:20:07 +0200
commitb0d8d3242998852e1a8a58b3f1b48186ad1063ec (patch)
tree80e8ae556288b66f139c8b2c12b76a9711160de6 /src/stat.c
parent5f6c22fceedd0d350e1a8246d4d73840de666c7e (diff)
downloadcoreutils-b0d8d3242998852e1a8a58b3f1b48186ad1063ec.tar.xz
stat,tail: recognize new file system type: aufs
* src/stat.c (human_fstype) [__linux__]: Add a 'case' for the new remote file system type: aufs (0x61756673). * NEWS (New features): Mention stat -f. (Bug fixes): Mention it for tail -f. Reported by Michael Mol in http://bugs.gnu.org/11823
Diffstat (limited to 'src/stat.c')
-rw-r--r--src/stat.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stat.c b/src/stat.c
index 94b63f61d..e56f1ffbc 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -249,6 +249,11 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "afs";
case S_MAGIC_ANON_INODE_FS: /* 0x09041934 local */
return "anon-inode FS";
+ case S_MAGIC_AUFS: /* 0x61756673 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 "aufs";
case S_MAGIC_AUTOFS: /* 0x0187 local */
return "autofs";
case S_MAGIC_BEFS: /* 0x42465331 local */