Date: Tue, 06 Feb 2001 09:33:26 -0800 From: Kris Kennaway <kris@obsecurity.org> To: Marcus Ramos <marcus@ansp.br> Cc: freebsd-questions@freebsd.org Subject: Re: Insmod equivalent Message-ID: <20010206093326.C12456@mollari.cthul.hu> In-Reply-To: <3A802A6B.94A1E6BC@ansp.br>; from marcus@ansp.br on Tue, Feb 06, 2001 at 02:46:35PM -0200 References: <3A802A6B.94A1E6BC@ansp.br>
next in thread | previous in thread | raw e-mail | index | archive | help
--3siQDZowHQqNOShm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 06, 2001 at 02:46:35PM -0200, Marcus Ramos wrote: > Hello, >=20 > I've compiled a file named "ttime.c" into "ttime.o" and now I want to > load it into the kernel. Since "ttime.c" was originally written for > Linux, the instructions tell me to use "insmod ttime.o". Since it seems > that command "insmod" does not exist in FreeBSD, I ask: what is the > equivalente one ? How can I have the ".o" file (a PCI driver) loaded > into the kernel ? 'kldload' is the equivalent for FreeBSD - but before you get too excited, if you're trying to run a Linux kernel module with FreeBSD it won't work, the kernels have almost nothing in common beyond being written in C. Kris --3siQDZowHQqNOShm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6gDVlWry0BWjoQKURAnxFAKCmafkpbSI+D8SB/duyk8knkxPsAQCg8Ur4 NBknbaNlSoLR4L1XnUahaOg= =mZkl -----END PGP SIGNATURE----- --3siQDZowHQqNOShm-- 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?20010206093326.C12456>