Re: Cannot mount linprocfs by unresolving sysvs?m symbols

From: Norikatsu Shigemura <nork_at_FreeBSD.org>
Date: Sat, 7 Apr 2007 03:08:54 +0900
On Fri, 6 Apr 2007 19:43:05 +0200
Roman Divacky <rdivacky_at_freebsd.org> wrote:
> > --- linprocfs.c	30 Mar 2007 17:56:44 -0000	1.108
> > +++ linprocfs.c	6 Apr 2007 17:33:05 -0000
> > _at__at_ -1238,3 +1238,5 _at__at_
> >  PSEUDOFS(linprocfs, 1);
> >  MODULE_DEPEND(linprocfs, linux, 1, 1, 1);
> >  MODULE_DEPEND(linprocfs, procfs, 1, 1, 1);
> > +MODULE_DEPEND(linprocfs, sysvmsg, 1, 1, 1);
> > +MODULE_DEPEND(linprocfs, sysvsem, 1, 1, 1);
> I dont like this, I would prefer some dynamic determining
> whether sysv symbols are present and if not just fill
> in "safe" values. 
> is there a way to do this nicely?

	safe values?  Ah, that's solution is not good.  When linprocfs
	is loaded, if sysvmsg or sysvsem module is not(or not loaded),
	these modules should be loaded.  And you know well thus modules
	like snd_*.
Received on Fri Apr 06 2007 - 16:08:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:07 UTC