From owner-freebsd-hackers Sun Oct 21 12: 5:18 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [24.14.150.180]) by hub.freebsd.org (Postfix) with ESMTP id 9060337B405 for ; Sun, 21 Oct 2001 12:05:14 -0700 (PDT) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f9LJ5EM25057 for ; Sun, 21 Oct 2001 12:05:14 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 49D5E3803; Sun, 21 Oct 2001 12:05:14 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Zhihui Zhang Cc: Warner Losh , freebsd-hackers@FreeBSD.ORG Subject: Re: where are kernel modules located? In-Reply-To: Date: Sun, 21 Oct 2001 12:05:14 -0700 From: Peter Wemm Message-Id: <20011021190514.49D5E3803@overcee.netplex.com.au> 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 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 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