PORTLOCK(1)
π PORTLOCK(1) π
from the General Commands Manual, bestie β main character energy for your build locks. π«Ά
πΈ NAME πΈ
portlock β lock port for concurrent builds
β¨ SYNOPSIS β¨
portlock [-g group] [-m mode] lockname [comment ...]
π¦ DESCRIPTION π¦
Okay so portlock creates a lock named lockname using open(2). Thatβs the vibe. If the lock is already held, it will display one single wait message on stderr, sleep and retry until satisfaction β like, it literally keeps trying, no cap. π
If necessary, it creates the lock directory, using -m mode as a mode argument or the default if that option is not specified, and -g group as the group owner if that option is specified. Periodt. π
-g groupβ if necessary, this usesgroupas the group owner when the lock directory is created, but only if this option is specified, bestie.-m modeβ if necessary, this usesmodeas the mode argument when the lock directory is created; if this option isnβt specified, the default is used.
This implements a locking mechanism for ports building, see βLOCK INFRASTRUCTUREβ in ports(7) for details. See also dpb(1) for a complementary lock infrastructure when using dpb. π¦
π Debian, July 9, 2018 β thatβs the source/date energy for this page, and portlock(1) is out. Bye bestie! π
π¦ where this page comes from
- nixpkgs unstable: cvs-export
- Copyright (c) 2010 Marc Espie <espie@openbsd.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms