Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2011 12:24:17 +0000
From:      Bruce Cran <bruce@cran.org.uk>
To:        Maxim Khitrov <max@mxcrypt.com>
Cc:        Carl <k0802647@telus.net>, freebsd-hackers@freebsd.org
Subject:   Re: listing all modules compiled into a kernel instance
Message-ID:  <20110301122417.00000c88@unknown>
In-Reply-To: <AANLkTin-Cth9qpg_fOWS=UWNHvJWhOugvE_7iV=8P_Eo@mail.gmail.com>
References:  <4D6C78D3.5090803@telus.net> <AANLkTin-Cth9qpg_fOWS=UWNHvJWhOugvE_7iV=8P_Eo@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 Mar 2011 06:20:29 -0500
Maxim Khitrov <max@mxcrypt.com> wrote:

> kldstat provides information about components that were loaded
> dynamically. If your kernel was built with INCLUDE_CONFIG_FILE option
> (enabled by default in GENERIC), then you can see the static
> components using:

It seems it can also list static components:

> kldstat -v
Id Refs Address    Size     Name
 1    1 0xc0400000 4c51b4   kernel (/boot/kernel/kernel)
        Contains modules:
                Id Name
                95 if_lo
                86 elf32
                87 shell
                96 igmp
                97 mld
                90 sysvmsg
                91 sysvsem
		[...]

-- 
Bruce Cran



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