Marcus Watts  <[EMAIL PROTECTED]> wrote:
}> > I am seeing that if a process holds an AFS file open, and that
}> > file is deleted externally, that eventually the process can no longer
}> > read the file.

}NFS has the same problem.   The major reason one might want
}to do this deliberately is for temporary files  ...

}The design issues are certainly kind of interesting.  NFS is
}designed to be as entirely stateless as possible.  That means
}it can't keep files around after they're deleted - that would
}imply it's keeping state information on clients, which would
}violate one of its design precepts.

   Actually, I believe NFS handles the "temp file" case correctly --
   if you delete a file which you have open the NFS client renames
   the file to one of those funky .nfs############# files and
   deletes that when you close it.  This frees the server from
   having to keep state in this case.

John
-- 
John Hascall                   ``An ill-chosen word is the fool's messenger.''
Moderator, comp.unix.wizards
Systems Software Engineer, ISU Comp Center  +  Ames, IA  50011  +  515/294-9551
<a href="http://www.cc.iastate.edu/staff/systems/john/john.html"> Homepage </a>

Reply via email to