search for: lockfile_cr

Displaying 2 results from an estimated 2 matches for "lockfile_cr".

Did you mean: lockfile_fd
2006 Apr 25
2
NFS
I've finally managed to run Dovecot without errors in two computers with maildir and indexes stored in NFS. I added a page to wiki about this: http://wiki.dovecot.org/NFS Suggestions how to keep attribute cache enabled but to allow Dovecot to specifically request not to use a cached value (when it's important) would be welcome. -------------- next part -------------- A non-text
2007 Oct 29
0
Need a cross-platform lockfile algorithm
...- Linux local disk access. - Windows local disk access. No doubt each of those combinations has many variations. I only need advisory locking, not mandatory locking; a lockfile convention would be fine. I'm hoping that something like the algorithm used by liblockfile could be used (see man lockfile_create, e.g. http://pwet.fr/man/linux/fonctions_bibliotheques/lockfile_create). Basically it creates a file with a unique name, links it to the <filename>.lock file, and uses stat() to see if its link got there before any other contender. This is designed to be NFS-safe but I don't kn...