Patch for rc.d/devd on FreeBSD 9-current

Dag-Erling Smørgrav des at
Mon Jun 28 08:25:37 UTC 2010

"M. Warner Losh" <imp at> writes:
> Maybe the real problem is that devd locks the file, then dies.  The
> file remains locked, so the flopen is failing with EWOULDBLOCK.

The lock is released when the process that holds it terminates.

> But I suspect the real real problem is the implicit assumption that
> flock will release the lock when a process terminates...  That isn't
> the case in BSD

Yes it is.

Dag-Erling Smørgrav - des at

More information about the freebsd-current mailing list