1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/devel/p5-File-NFSLock/pkg-descr
Andrej Zverev b7ce5f4444 - add stage support
Approved by:	portmgr (blanket infrastructure)
2014-01-06 13:53:21 +00:00

13 lines
654 B
Plaintext

File::NFSLock - perl module to do NFS (or not) locking.
The module is based of concept of hard linking of files being atomic
across NFS. This concept was mentioned in Mail::Box::Locker (which was
originally presented in Mail::Folder::Maildir). Some routine flow is
taken from there -- particularly the idea of creating a random local
file, hard linking a common file to the local file, and then checking
the nlink status. Some ideologies were not complete (uncache mechanism,
shared locking) and some coding was even incorrect (wrong stat index).
File::NFSLock was written to be light, generic, and fast.
WWW: http://search.cpan.org/dist/File-NFSLock/