NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/41725 (uvm fault and problems unmounting file sytems at shutdown)



On Wed, Jul 29, 2009 at 08:11:10AM +0200, Alan Barrett wrote:
> On Tue, 28 Jul 2009, David Young wrote:
> > cgd1 is not a pseudo-device, so it cannot be detached.  If it is backed
> > by wd0, then wd0 will not be detached.
> 
> So pseudo-devices (e.g. md0) can be detached, and real devices
> (e.g. ppb1) can be detached, but cgd is somehow in neither of those
> categories, and therefore cannot be detached?  I find this confusing.

Right, cpu_reboot(9) only tears down filesystems and (pseudo-)devices.
Every non-filesystem entity that we want to tear down either already is,
or can be made into a device.

md, raid, and vnd are pseudo-devices.  Neither ccd, cgd, nor dm is a
pseudo-device, yet.  I've been converting cgd into a pseudo-device,
using vnd as a guide, but I don't use cgd myself, so I would like to
hand the conversion off to somebody else.  Interested?

Dave

-- 
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 278-3933


Home | Main Index | Thread Index | Old Index