lockdir — User Commands
NAME
lockdir − Lock a directory atomically
SYNOPSIS
lockdir [filename]
OPTIONS
filenameName of file to use for the lock (defaults to ./LOCK).
DESCRIPTION
This is a simple program to acquire a lock on a directory. It waits for up to 10 minutes before giving up. It exits 0 if the lock was acquired and non-zero otherwise. If no argument is given, it assumes it is in the proper directory and just uses the file LOCK in the current directory.
KEYWORDS
lock, atomic,
Sprite version 1.0 — February 28, 1990