[PLUG] file locking

Manas Alekar maalekar at gmail.com
Tue Jul 14 11:59:18 IST 2009

> What is the best way of forcing a file to be opened by only one
> process at a time?

You might be interested in mandatory file locking via setgid. Mount
using option mand and then use lockf. There are pitfalls, though.


More information about the Plug-mail mailing list