Re: GNOME registry



Miguel de Icaza <miguel@nuclecu.unam.mx> writes:

> The only way that will work reliably over NFS is using mkdir to create
> a temporary file.  On top of that, picture crashing problems, so you
> need to add timeout code to remove the directory if it fails and hope
> the failure was real.

Well, this is correct but nevertheless it should be configurable.
Maybe even at runtime.

Using locking dorectories is the safest, but also slowest solution and
has the problem with stale directories.  If it is known for the local
environment that POSIX locking works it should be used.  Using Linux's
kernel NFS implementation it should work now, also Solaris and Irix
machines should be fine.  In situations like this it wouldn't be very
smart to use directories.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]