From owner-freebsd-fs Thu Mar 7 7:43:44 2002 Delivered-To: freebsd-fs@freebsd.org Received: from web11306.mail.yahoo.com (web11306.mail.yahoo.com [216.136.131.209]) by hub.freebsd.org (Postfix) with SMTP id 03C3537B41F for ; Thu, 7 Mar 2002 07:43:19 -0800 (PST) Message-ID: <20020307154319.20172.qmail@web11306.mail.yahoo.com> Received: from [47.248.0.42] by web11306.mail.yahoo.com via HTTP; Thu, 07 Mar 2002 10:43:19 EST Date: Thu, 7 Mar 2002 10:43:19 -0500 (EST) From: Andrew Atrens Subject: is ext2fs a good template for porting a linux filesystem? To: fs@freebsd.org Cc: atrens@nortelnetworks.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Hi All, I'm investigating writing a shim to allow Clearcase's linux mvfs (multi-version filesystem) kernel module to be used under FreeBSD. Needless to say there are a few hurdles to overcome, but fortunately I'm not in too big hurry :) So, the subject: of this email relates to one of the hurdles. :) Clearcase provides a thin (compilable) shim which fits between the linux kernel and their mvfs module. All accesses to data structures and functions (except panic() and printk()) are indirected through the shim. This simplifies their porting effort for new versions of the linux kernel. It also _might_ make it possible to develop a FreeBSD shim, although I really don't know enough yet to know for sure :) 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 ? Sorry for being so longwinded :) Cheers, Andrew. - | Opinions are mine, not those of any employer. ______________________________________________________________________ Find, Connect, Date! http://personals.yahoo.ca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message