"M. Warner Losh" <i...@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 - d...@des.no
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to