Date: Sun, 21 Oct 2001 12:05:14 -0700 From: Peter Wemm <peter@wemm.org> To: Zhihui Zhang <zzhang@cs.binghamton.edu> Cc: Warner Losh <imp@harmony.village.org>, freebsd-hackers@FreeBSD.ORG Subject: Re: where are kernel modules located? Message-ID: <20011021190514.49D5E3803@overcee.netplex.com.au> In-Reply-To: <Pine.SOL.4.21.0110211403550.28717-100000@onyx>
next in thread | previous in thread | raw e-mail | index | archive | help
Zhihui Zhang wrote:
>
> Could you please tell me where in the source the KLD location is
> determined? I found out that the KLD can be loaded under / in 4.3-Release
> even if I have a newer copy under /modules. This gives me a lot of
> trouble debugging.
Look at the sysctl kern.module_path - that is the exact order that things
are searched for on any given system.
> Thanks,
>
> -Zhihui
>
> On Sat, 20 Oct 2001, Warner Losh wrote:
>
> > In message <Pine.SOL.4.21.0110201648520.23011-100000@onyx> Zhihui Zhang wri
tes:
> > : Kernel modules are supposed to locate under /modules. It turns out we ca
n
> > : find it under /. So where are kernel models located exactly?
> >
> > In -stable it is /modules (except for about 8 hours in the last few
> > days when they bogusly wound up in / due to a foobar by yours truly).
> > In current they live in /boot/kernel/*.
> >
> > Warner
> >
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
>
>
Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011021190514.49D5E3803>
