Hacker News new | ask | show | jobs
by yencabulator 632 days ago
You can't atomically allocate a unique identifier (e.g. next step of a counter) with rename, it'll overwrite. That's what the link(2) is for.