tech-kern archive

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

Re: unconfiguring swap at shutdown

On Sep 3, 2008, at 6:47 AM, Manuel Bouyer wrote:

On Tue, Sep 02, 2008 at 07:45:43PM -0700, Jason Thorpe wrote:
Tmpfs?  Do this after file systems have been unmounted?

No, but the proposed in-kernel swapoff code needs access to /dev, which
may be on a tmpfs. So you can't unmount it before swapoff.

So fix the in-kernel code to not require access to /dev. If it has the vnode, I don't see why it would need /dev to be present... that's just broken.

Manuel Bouyer, LIP6, Universite Paris VI.  
    NetBSD: 26 ans d'experience feront toujours la difference

-- thorpej

Home | Main Index | Thread Index | Old Index