bug-mailutils
[Top][All Lists]
Advanced

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

Re: [bug-mailutils] gdbm over NFS safety


From: Kostas Zorbadelos
Subject: Re: [bug-mailutils] gdbm over NFS safety
Date: Tue, 25 Oct 2005 10:49:17 +0300
User-agent: Mutt/1.5.9i

On Mon, Oct 24, 2005 at 10:34:05AM -0400, Alain Magloire wrote:
> 
> 
> > Subject: [bug-mailutils] gdbm over NFS safety
> > 
> > Hello.
> > I can see that the vacation action in sieve uses gdbm files. In our
> > setup we have NFS mounted mailboxes. Is it safe to use gdbm over NFS?
> > 
> 
> GDBM is multiple readers and 1 writer.  So it uses a lock to restrict write
> access on the database.  IIRC, POSIX fcntl(2) locking is NFS safe but not
> BSD flock(2), so you will need to make sure that your version of GDB is
> compiled with flock(2) enable and to disable flock(2).
> #undef HAVE_FLOCK
>

I am not sure if the locking issues are all there is to it [1].
Anyway, I will give a better look to gdbm to see and if gdbm is not
good enough I will search for db alternatives.
 
[1] http://www.sleepycat.com/docs/ref/env/remote.html
 
> 
> 
> 
> _______________________________________________
> Bug-mailutils mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-mailutils
> 

-- 
  Kostas Zorbadelos
  Systems Designer/Developer, Otenet SA 
  address@hidden contact: kzorba (at) otenet.gr
  
  Out there in the darkness, out there in the night
  out there in the starlight, one soul burns brighter
  than a thousand suns.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]