Re: clone_cleanup() doesn't

From: Ed Schouten <ed_at_80386.nl>
Date: Sun, 16 Aug 2009 20:09:11 +0200
* Andrew Gallatin <gallatin_at_cs.duke.edu> wrote:
> FWIW, the fix to my problem was to add D_NEEDMINOR to
> my cdevsw d_flags, to restore the same behavior as FreeBSD 5/6/7

Yes. INVARIANTS should trigger a kernel panic if you use clone_create()
without D_NEEDMINOR. I think you probably didn't have it enabled, which
means it dies later on.

-- 
 Ed Schouten <ed_at_80386.nl>
 WWW: http://80386.nl/

Received on Sun Aug 16 2009 - 16:09:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:53 UTC