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
> [email protected]
> http://lists.gnu.org/mailman/listinfo/bug-mailutils
> 

-- 
  Kostas Zorbadelos
  Systems Designer/Developer, Otenet SA 
  [EMAIL PROTECTED] 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.



_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to