On Sunday 16 November 2003 15:10, Svetoslav Slavtchev wrote:
> > On Sunday 16 November 2003 05:31, Olivier Blin wrote:
> > > > ------------------------------------------
> > > > arent the following pretty important,
> > > > and alwasys needed ?
> >
> > the right question is - are they needed to *boot* kernel?
> >
> > > > > > -CONFIG_PACKET=y
> > > > > > +CONFIG_PACKET=m
> > > > >
> > > > > module
> > > > >
> > > > > >  CONFIG_PACKET_MMAP=y
> > > > > >  CONFIG_NETLINK_DEV=m
> > > > > > -CONFIG_UNIX=y
> > > > > > +CONFIG_UNIX=m
> > > > >
[...]
>
> you are right
> they are needed only for NFS root, which IIRC is disabled in the main 2.4
> kernel,
> but they should be loaded right after boot ( modprobe.preload ? )
>

they are loaded by virtue of MODULE_ALIAS magic :).

{pts/1}% modprobe -c | grep net-pf
alias net-pf-1 unix
alias net-pf-2 ipv4
alias net-pf-3 off
alias net-pf-4 ipx
alias net-pf-5 appletalk
alias net-pf-6 off
alias net-pf-10 off
alias net-pf-17 af_packet
alias net-pf-19 off


(those marked "off" still come from  static modprobe.default because they are 
not in kernel yet).


Reply via email to