tech-kern archive

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

Re: [RFC] aftermountroothook



I wrote:

> > some network devices require firmware to read MAC address. if such
> > devices are attached before root directory is mounted, they are not
> > attached as ordinary network interface.
>  :
> > to resolv this issue, following patch introduces "aftermountroothook".

 :

> I think it can be implemented as well as config_interrupt().
> You can register all deferred initializetions via config_mountroot()
> (or so) like config_interrupt() and they could be established by
> config_finalize_mountroot() (or so) from init_main.c after mountroot().

I've posted a patch for this into PR kern/43125:
http://mail-index.NetBSD.org/netbsd-bugs/2010/06/13/msg018111.html

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index