Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Nov 2000 19:01:13 +0000 (GMT)
From:      George Reid <greid@ukug.uk.freebsd.org>
To:        Jason <blaz@satx.rr.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: various questions..
Message-ID:  <Pine.BSF.4.21.0011121859340.2594-100000@sobek.nevernet.net>
In-Reply-To: <3A0EE3B1.D6484FC2@satx.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 12 Nov 2000, Jason wrote:

> I have been using linux for sometime, but now trying
> to learn xBSD.  Is there a command like lsmod?
> what it did in linux, was list all the modules
> that were currently loaded -- and you could
> use insmod or modprobe to add modules.  Does
> FreeBSD have anything like this, or a rc.modules
> file?

Use "kldstat" to list the modules, "kldload <file.ko>" to load a module,
kldunload <module> to unload a module. Modules are loaded from a path
specified by a sysctl - type "sysctl kern.module_path" to see this path
for your system.

G
---
"And then it comes to be that the soothing light
   at the end of your tunnel was just a freight
            train, comin' your way."

      George Reid * greid@ukug.uk.freebsd.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011121859340.2594-100000>