[PLUG] file locking

Manas Alekar maalekar at gmail.com
Mon Jul 13 23:29:18 PDT 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