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
This commit is contained in:
Pádraig Brady committed 2014-06-13 10:12:39 +01:00
1 parent 4f169fe49b
commit 8a51bd3736
2 files changed
+6 -1

No files matched your search

+3 -1
View File
@@ -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";