In message <[EMAIL PROTECTED]>, Dima Dorfman write
s:
>disk_clone is set as the dev_clone handler by the disk minilayer to
>create /dev/disk0sXY devices; however, as far as I can tell, those
>devices are never destroyed.  For example (/dev is devfs here):

This is a subset of a larger problem:  How to modules clean up
properly.  In this case it is slightly more complicated by the fact
that the disk minilayer is involved.

>So, my questions are:
>
>       - is this a bug?  At least the page fault is; and

Yes.

>       - what should be destroying /dev/md0c?

The disk-minilayer.

We need some to keep track of cloned dev_t's so we can nuke them
at various strategic points, havn't gotten to that yet.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to