diff options
author | Pádraig Brady <P@draigBrady.com> | 2014-06-13 09:16:31 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-06-13 10:12:39 +0100 |
commit | 8a51bd37362cdbfc2fab50458a67452a546dcfaf (patch) | |
tree | 2a09e1a860751799fca9e8e052197a72d37aab19 /src | |
parent | 4f169fe49bc6788cd1d5e5cce84b41d40f053d5f (diff) | |
download | coreutils-8a51bd37362cdbfc2fab50458a67452a546dcfaf.tar.xz |
tail: fix --follow to use polling mode for VXFS
Veritas File System can run in single instance or clustered mode,
so mark as remote to avoid using inotify for the latter case.
* src/stat.c (human_fstype): Tag VXFS as remote, to use polling
for the clustered variant (VXCFS).
* NEWS: Mention the bug fix.
Reported by Ondřej Vašík in http://bugzilla.redhat.com/1104244
Fixes http://bugs.gnu.org/17770
Diffstat (limited to 'src')
-rw-r--r-- | src/stat.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stat.c b/src/stat.c index 0f67d22df..b65dbe556 100644 --- a/src/stat.c +++ b/src/stat.c @@ -443,7 +443,9 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) return "v9fs"; case S_MAGIC_VMHGFS: /* 0xBACBACBC remote */ return "vmhgfs"; - case S_MAGIC_VXFS: /* 0xA501FCF5 local */ + case S_MAGIC_VXFS: /* 0xA501FCF5 remote */ + /* Veritas File System can run in single instance or clustered mode, + so mark as remote to cater for the latter case. */ return "vxfs"; case S_MAGIC_VZFS: /* 0x565A4653 local */ return "vzfs"; |