]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tail: fix --follow to use polling mode for VXFS
authorPádraig Brady <P@draigBrady.com>
Fri, 13 Jun 2014 08:16:31 +0000 (09:16 +0100)
committerPádraig Brady <P@draigBrady.com>
Fri, 13 Jun 2014 09:12:39 +0000 (10:12 +0100)
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

NEWS
src/stat.c

diff --git a/NEWS b/NEWS
index 2f43da60cec16449ca408d1035fbf506b4074a49..5d1fe99406b8cfc4e7212bf4187cebeee2ed6eb0 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -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
index 0f67d22dfee8c2c3bd84c210d6355a8fcb8ef86b..b65dbe556cd4105f6b677fd539492f6fad8bb1ac 100644 (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";