On Sun, 5 Mar 2000, Paul D. Smith wrote:

> Sounds to me like an NFS bug; some older NFS implementations have
> problems with caching, such that files don't appear immediately after
> they're created.  Are both your client and server systems the same
> OS/version, or are you using a NAC or Auspex or something as an NFS
> server?

Oh, I'm pretty certain that it's a NFS bug, but I was hoping the get some
more evidence to support my claim or perhaps to hear how someone else has
worked around the problem.  The server is a Solaris box running the latest
revs and patchs on top of a Veritas file system.  The problem could be
anywhere in the mix, but I'm betting on the PTX client since everything
works as it should on Solaris and Linux clients.  Sequent (ahem, I guess
it's IBM now) hasn't ever been able to do NFS properly as far as I can tell.

Right now I'm running pretty successfully with with this horrible,
horrible patch (paste mangled). No flames please, I know it's ugly ;-):

diff -u make-3.78.1.orig/remake.c make-3.78.1/remake.c
--- make-3.78.1.orig/remake.c   Thu Sep  9 11:30:27 1999
+++ make-3.78.1/remake.c        Thu Mar  2 13:08:26 2000
@@ -1189,7 +1174,12 @@
 {
   struct stat st;
 
+#ifdef _SEQUENT_
+  if (stat (name, &st) < 0
+      && (usleep(200000), stat (name, &st)) < 0)
+#else
   if (stat (name, &st) < 0)
+#endif
     return (FILE_TIMESTAMP) -1;
 
   return FILE_TIMESTAMP_STAT_MODTIME (st);

Michael Sterrett
  -Mr. Bones.-
[EMAIL PROTECTED]

Reply via email to