From owner-freebsd-questions Tue Nov 19 2: 6:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9FD737B401 for ; Tue, 19 Nov 2002 02:06:31 -0800 (PST) Received: from HAL9000.homeunix.com (12-232-220-15.client.attbi.com [12.232.220.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56A6C43E88 for ; Tue, 19 Nov 2002 02:06:31 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id gAJA6UtX001086; Tue, 19 Nov 2002 02:06:30 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id gAJA6POR001085; Tue, 19 Nov 2002 02:06:25 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Tue, 19 Nov 2002 02:06:25 -0800 From: David Schultz To: Chris Pepper Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Confirmation: ext2fs requires kernel rebuild? Message-ID: <20021119100625.GC679@HAL9000.homeunix.com> Mail-Followup-To: Chris Pepper , freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake Chris Pepper : > I'm trying to get at a file on an ext2fs slice. I'm a bit > confused about kernel recompiles vs. KLDs for Linux compatibility, > though. Am I reading correctly at > > & , that I can > run Linux applications with a single command or rc.conf entry, but > accessing files on ext2 file systems requires a kernel rebuild? > > This seems a bit backwards -- is anyone aware of work to make > ext2fs a standard module, so it can be loaded under GENERIC? Running Linux binaries and using Linux filesystems are two completely different things. To to the former, and the appropriate rc.conf entry and install ports/emulators/linux_base as described in the Handbook. To use ext2fs, you can either add the option EXT2FS to your kernel config to compile it statically into your kernel, or you can load the ext2fs module dynamically, even into GENERIC. To do the latter, the module must exist; it will be created if you make the kernel with -DWANT_EXT2FS_MODULE. It is also installed by sysinstall, IIRC. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message