diff options
author | eivind <eivind@FreeBSD.org> | 2005-05-26 22:30:12 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 2005-05-26 22:30:12 +0000 |
commit | 64e1569cd32cf3e4b0c3b3fd4448b9718b02dbe7 (patch) | |
tree | 765d0695454991aae04a26a9c1f003f316469802 /usr.bin/lockf | |
parent | 1a8a2d84cd3057f409a64626347b3ce7690c4334 (diff) | |
download | FreeBSD-src-64e1569cd32cf3e4b0c3b3fd4448b9718b02dbe7.zip FreeBSD-src-64e1569cd32cf3e4b0c3b3fd4448b9718b02dbe7.tar.gz |
Document a couple of gotchas.
Diffstat (limited to 'usr.bin/lockf')
-rw-r--r-- | usr.bin/lockf/lockf.1 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/lockf/lockf.1 b/usr.bin/lockf/lockf.1 index 01270cd..f341937 100644 --- a/usr.bin/lockf/lockf.1 +++ b/usr.bin/lockf/lockf.1 @@ -42,7 +42,8 @@ The .Nm utility acquires an exclusive lock on a .Ar file , -creating it if necessary. +creating it if necessary, +.Em "and removing the file on exit unless explictly told not to." While holding the lock, it executes a .Ar command with optional @@ -86,6 +87,11 @@ before giving up. A timeout of 0 may be given, in which case .Nm will fail unless it can acquire the lock immediately. +When a lock times out, +.Ar command +is +.Em not +executed. .El .Pp In no event will |