10.0;lkob (lock_object), revision 1.0, 88/01/21
lkob (lock_object) -- Lock an object.
usage: lkob pathname... [-r|-w|-i|-r2w|-r2riw|-w2r|-w2riw]
DESCRIPTION
lkob locks the specified object. The locking constraint is "n readers
xor 1 writer".
lkob is primarily used for system-level debugging.
Use llkob (list_locked_objects) to list locked objects. Use ulkob
(unlock_object) to unlock an object.
ARGUMENTS
pathname (required)
Specify object to be locked. Multiple pathnames and
wildcarding are permitted.
OPTIONS
-r (default)
Lock the object for reading.
-w Lock the object for writing.
-i Lock the object for reading, with intent to write.
-r2w Change the lock mode of the object from "read" or "read-
intend-write" to "write".
-r2riw Change the lock mode of the object from "read" to "read-
intend-write".
-w2r Change the lock mode of the object from "write" to "read".
-w2riw Change the lock mode of the object from "write" to "read-
intend-write".
This command uses the command-line parser, and so also accepts the
standard command options listed in help cl.
EXAMPLES
$ lkob susan -w
Lock file susan for writing.
SEE ALSO
More information is available. Type:
help llkob For details about listing locked objects
help ulkob For details about unlocking locked objects