devel/p5-File-NFSLock 1.29 DragonFly
Perl module to do NFS (or not) locking
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 15.3 KiB, 33.5 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/p5-File-NFSLock | 1.29 |
| FreeBSD | devel/p5-File-NFSLock | 1.29 |
| OpenBSD | sysutils/p5-File-NFSLock | 1.29p0 |
| NetBSD | devel/p5-File-NFSLock | 1.29nb8 |
| MidnightBSD | devel/p5-File-NFSLock | 1.29 |
| HardenedBSD | devel/p5-File-NFSLock | 1.29 |
| GhostBSD | devel/p5-File-NFSLock | 1.29 |
| OPNsense | devel/p5-File-NFSLock | 1.29 |
Install
Binary package:
pkg install p5-File-NFSLock
From DPorts:
cd /usr/dports/devel/p5-File-NFSLock && make install clean