From owner-freebsd-fs Thu Mar 7 9: 2:45 2002 Delivered-To: freebsd-fs@freebsd.org Received: from ns.caldera.de (ns.caldera.de [212.34.180.1]) by hub.freebsd.org (Postfix) with ESMTP id 60DBC37B4AD for ; Thu, 7 Mar 2002 09:01:53 -0800 (PST) Received: (from hch@localhost) by ns.caldera.de (8.11.6/8.11.6) id g27H14m09081; Thu, 7 Mar 2002 18:01:04 +0100 Date: Thu, 7 Mar 2002 18:01:04 +0100 From: Christoph Hellwig To: Andrew Atrens Cc: fs@FreeBSD.ORG, atrens@nortelnetworks.com Subject: Re: is ext2fs a good template for porting a linux filesystem? Message-ID: <20020307180104.A8734@caldera.de> References: <20020307154319.20172.qmail@web11306.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020307154319.20172.qmail@web11306.mail.yahoo.com>; from andrew_atrens@yahoo.ca on Thu, Mar 07, 2002 at 10:43:19AM -0500 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Mar 07, 2002 at 10:43:19AM -0500, Andrew Atrens wrote: > Clearcase provides a thin (compilable) shim which fits between the > linux kernel and their mvfs module. Where is this source part available? > It also _might_ make it possible to develop a FreeBSD shim, although I > really don't know enough yet to know for sure :) I think that would be very difficult as the Linux VFS is fundamentally different from FreeBSD and other 4.4BSD derivates. Depending on how much of the generic library code for filesystems it uses on Linux it might be possible, but I bet it would be even more unstable than the already rather bad Linux version.. > I've been looking at their shim, and at mfs code for clues as to how > the > linux and Freebsd vfs layers might compare. Next I'd like to look at a > linux fs that's been ported to FreeBSD. Should I be looking at ext2fs, > or > is there a better example out there ? The FreeBSD ext2 driver might be used as an example of how to glue a linux 1.x/2.0 filesystem into FreeBSD, it is rather useless for current Linux filesystems and also a bad example for almost anything else :) Christoph -- Of course it doesn't work. We've performed a software upgrade. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message