From owner-freebsd-questions Sun Sep 10 21:41:56 2000 Delivered-To: freebsd-questions@freebsd.org Received: from srcso.globis.ru (globis.ru [212.248.80.7]) by hub.freebsd.org (Postfix) with ESMTP id EBC4C37B422 for ; Sun, 10 Sep 2000 21:41:51 -0700 (PDT) Received: from raduga.dyndns.org (raduga.sochi.net [212.248.82.76]) by srcso.globis.ru (8.9.3/8.9.3) with ESMTP id IAA08703 for ; Mon, 11 Sep 2000 08:58:44 +0400 (MSD) (envelope-from igor@raduga.dyndns.org) Received: (from igor@localhost) by raduga.dyndns.org (8.10.0/8.10.0) id e8B4fdN11692 for freebsd-questions@FreeBSD.ORG; Mon, 11 Sep 2000 08:41:39 +0400 Date: Mon, 11 Sep 2000 08:41:39 +0400 From: Igor Roboul To: freebsd-questions@FreeBSD.ORG Subject: Re: How to compile portions of FreeBSD as modules? Message-ID: <20000911084139.A11648@linux.rainbow> Reply-To: igorr@crosswinds.net Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre4i In-Reply-To: ; from pankaj_chhabra@hotmail.com on Sun, Sep 10, 2000 at 10:38:12PM +0000 X-Operating-System: Linux linux.rainbow 2.2.14-plus-SMP X-Best-Window-Manager: Window Maker (www.windowmaker.org) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Sep 10, 2000 at 10:38:12PM +0000, Pankaj Chhabra wrote: > Hi, > > Could you please tell how to compile portions of kernel as modules. > > For example if I were to add if_xl as a module, what would I do? Hello, I need to do nothing :-) Just don't compile it into kernel. As opposed to Linux, FreeBSD compiles ALL, what is not included into kernel and can be compiled as module, as module. So you can just say "kldload if_xl" -- Igor Roboul, Unix System Administrator & Programmer @ sanatorium "Raduga", Sochi, Russia http://www.brainbench.com/transcript.jsp?pid=304744 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message