From owner-freebsd-questions@FreeBSD.ORG Wed Mar 19 19:28:35 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6073838E for ; Wed, 19 Mar 2014 19:28:35 +0000 (UTC) Received: from mail-vc0-x232.google.com (mail-vc0-x232.google.com [IPv6:2607:f8b0:400c:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 218C71F8 for ; Wed, 19 Mar 2014 19:28:35 +0000 (UTC) Received: by mail-vc0-f178.google.com with SMTP id im17so9551905vcb.23 for ; Wed, 19 Mar 2014 12:28:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=nZCHi4Ef7n7S0kHupTXqMufFvIMBLxL5aFtFbZPZGoA=; b=selpKnmRNeXC+rHDjW3Ra4MT+7uAQeYsVf67BX+drXJtSfyhRow9LqA2ooIRu87y5c gbvrJ3CP3pQJN/mgcB/FjbIfV9si2WHNbWXzrMzvwLhAZAHn3yuM9/TktNvt8xpmBCyQ 9Ls8DwgJi/qTIzBvrwnOThHSIa17O/Xcwdmj6feVPnXngFa2eWMmlBi2ax7t4v2Our4p GmE3mJCiNPR50RYYNGY1kNYqibXTQ2u27QcnijJ4MfXqU6YUm6q0RLqXQf4xGv/rs3DS r0QlzvmJhwkrl0+qEcjtqGXCAS2f7eCUXjxOBC1FumRHErMSoT2nN3ZqS+VWzGnVgyOL qfuw== X-Received: by 10.220.106.7 with SMTP id v7mr167594vco.46.1395257313676; Wed, 19 Mar 2014 12:28:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.91.74 with HTTP; Wed, 19 Mar 2014 12:28:13 -0700 (PDT) In-Reply-To: <878us839kt.fsf@UlanBator.myhome.westell.com> References: <878us839kt.fsf@UlanBator.myhome.westell.com> From: Anton Sayetsky Date: Wed, 19 Mar 2014 21:28:13 +0200 Message-ID: Subject: Re: Listing kernel models. To: "R. Clayton" Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Mar 2014 19:28:35 -0000 2014-03-17 21:32 GMT+02:00 R. Clayton : > How do I list the modules available in the (10.0 release generic, in my case) > kernel? In linux I'd use the lsmod command. In freebsd does "ls /boot/kernel" > do the trick? Is it the case that /boot/kernel/*ko are included as modules? > > In particular, I'm trying figure out if the instructions given in > > www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html > > to put > > if_ath_load="YES" > wlan_wep_load="YES" > wlan_ccmp_load="YES" > wlan_tkip_load="YES" > > in /boot/loader.conf are redundant. lsmod = kldstat (see -v flag) ls /boot/kernel = find /lib/modules