From c321f7450f24c495382aabf9125a2701f47e5a04 Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Sat, 15 Dec 2012 00:13:55 +0100 Subject: tail,stat: improve support for the ceph file system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- src/stat.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 */ -- cgit v1.2.3-54-g00ecf