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

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Mon, 28 Jun 2010 10:23:25 +0200
"M. Warner Losh" <imp_at_bsdimp.com> 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.

DES
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Mon Jun 28 2010 - 06:25:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC