Re: udev and devfs - The final word

viro
2004-01-07T13:27:01Z

On Wed, Jan 07, 2004 at 02:00:36PM +0100, Olaf Hering wrote:

> Ok, it was mkfs.minix and an older distro.

mkfs should simply pass O_EXCL to open(). Which is what you really want
and yes, it should work on 2.6 (not sure if it got backported on 2.4).