Now something amusing, I did not realize I had a super stale copy of the OpenBSD source code hanging around -- they stopped pre-installing files in 2018! Instead they install late and do the in dup2 returning EBUSY, i.e. the same thing as Linux. I do have up to date FreeBSD and NetBSD though. :) Christian, would you mind massaging the OS entries in the commit message (or should i send a v2?): - OpenBSD installing a larval file -- they moved away from it, file is installed late and EBUSY is returned on conflict - FreeBSD returning EBADF -- reworked to install the file early like OpenBSD used to do -- Mateusz Guzik <mjguzik gmail.com>