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 2014-06-13 09:16:31 +01:00
parent 4f169fe49b
commit 8a51bd3736
2 changed files with 6 additions and 1 deletions

3
NEWS
View File

@ -77,6 +77,9 @@ GNU coreutils NEWS -*- outline -*-
shuf --repeat no longer dumps core if the input is empty.
[bug introduced with the --repeat feature in coreutils-8.22]
tail -f now uses polling mode for VXFS to cater for its clustered mode.
[bug introduced with inotify support added in coreutils-7.5]
** New features
od accepts a new option: --endian=TYPE to handle inputs with different byte

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";