From owner-freebsd-hackers Sun Oct 21 11: 7: 0 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id 20C5637B405 for ; Sun, 21 Oct 2001 11:06:58 -0700 (PDT) Received: from onyx (onyx.cs.binghamton.edu [128.226.140.171]) by bingnet2.cc.binghamton.edu (8.11.6/8.11.6) with ESMTP id f9LI6rH20976; Sun, 21 Oct 2001 14:06:53 -0400 (EDT) Date: Sun, 21 Oct 2001 14:05:56 -0400 (EDT) From: Zhihui Zhang X-Sender: zzhang@onyx To: Warner Losh Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: where are kernel modules located? In-Reply-To: <200110202129.f9KLTp749148@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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. Thanks, -Zhihui On Sat, 20 Oct 2001, Warner Losh wrote: > In message Zhihui Zhang writes: > : Kernel modules are supposed to locate under /modules. It turns out we can > : 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