Linux lockfile explained, how to use them the easy or hard way | Hacker News Reader