Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/lockf/lockf.1
Context not available. | |||||
.Nd execute a command while holding a file lock | .Nd execute a command while holding a file lock | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl kns | .Op Fl knsw | ||||
.Op Fl t Ar seconds | .Op Fl t Ar seconds | ||||
.Ar file | .Ar file | ||||
.Ar command | .Ar command | ||||
Context not available. | |||||
is | is | ||||
.Em not | .Em not | ||||
executed. | executed. | ||||
.It Fl w | |||||
Causes | |||||
.Nm | |||||
to open | |||||
.Ar file | |||||
for writing rather than reading. | |||||
This is necessary on filesystems (including NFS) where a file which | |||||
has been opened read-only cannot be exclusively locked. | |||||
.El | .El | ||||
rmacklem: It might be more technically correct to say "including NFSv4".
NFSv3 does not have an Open and… | |||||
cpercivaAuthorUnsubmitted Done Inline ActionsThanks, fixed. cperciva: Thanks, fixed. | |||||
.Pp | .Pp | ||||
In no event will | In no event will | ||||
Context not available. |
It might be more technically correct to say "including NFSv4".
NFSv3 does not have an Open and, therefore, is not affected
by this.