Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Apr 2007 03:08:54 +0900
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        Roman Divacky <rdivacky@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org, Norikatsu Shigemura <nork@FreeBSD.org>
Subject:   Re: Cannot mount linprocfs by unresolving sysvs?m symbols
Message-ID:  <20070407030854.3aa6f9a7.nork@FreeBSD.org>
In-Reply-To: <20070406174305.GA90217@freebsd.org>
References:  <20070407023855.ede13b76.nork@FreeBSD.org> <20070406174305.GA90217@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 6 Apr 2007 19:43:05 +0200
Roman Divacky <rdivacky@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_*.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070407030854.3aa6f9a7.nork>