summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBernhard Voelker <mail@bernhard-voelker.de>2012-12-15 00:13:55 +0100
committerBernhard Voelker <mail@bernhard-voelker.de>2012-12-15 00:15:25 +0100
commitc321f7450f24c495382aabf9125a2701f47e5a04 (patch)
tree7bc95022a068e369f7e3a1a966e07a9d6d355b21 /src
parent9c506806fa3904fba60d9f67f381cf90fe6f1e69 (diff)
downloadcoreutils-c321f7450f24c495382aabf9125a2701f47e5a04.tar.xz
tail,stat: improve support for the ceph file system
Teach tail -f that it must use polling on ceph file systems, and let stat -f --format=%T report the file system type name, "ceph". Website: http://ceph.com/ * src/stat.c (human_fstype): Add a case: ceph, 0x00C36400, remote. * NEWS (Improvements): Mention it. * THANKS.in: Update. Reported by Konrad Wróblewski in http://bugs.gnu.org/13172.
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 51f4b9067..b2459e06d 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -266,6 +266,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "binfmt_misc";
case S_MAGIC_BTRFS: /* 0x9123683E local */
return "btrfs";
+ case S_MAGIC_CEPH: /* 0x00C36400 remote */
+ return "ceph";
case S_MAGIC_CGROUP: /* 0x0027E0EB local */
return "cgroupfs";
case S_MAGIC_CIFS: /* 0xFF534D42 remote */