RE: GNOME registry



If the config library is written, you could use a flat file on filesystems
that support config file locking, and LDAP or whatever on ones that don't.

> -----Original Message-----
> From:	Ulrich Drepper [SMTP:drepper@cygnus.com]
> Sent:	Wednesday, December 30, 1998 4:01 PM
> To:	Miguel de Icaza
> Subject:	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   `------------------------
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.



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