Cannot mount linprocfs by unresolving sysvs?m symbols
Norikatsu Shigemura
nork at FreeBSD.org
Fri Apr 6 18:08:56 UTC 2007
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
> > @@ -1238,3 +1238,5 @@
> > 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_*.
More information about the freebsd-current
mailing list