From owner-freebsd-current@FreeBSD.ORG Thu May 20 12:40:40 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE74116A4CE for ; Thu, 20 May 2004 12:40:40 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 016B143D60 for ; Thu, 20 May 2004 12:40:39 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i4KJebi6035265; Thu, 20 May 2004 21:40:37 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: jesse@wingnet.net From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 20 May 2004 14:44:06 EDT." Date: Thu, 20 May 2004 21:40:37 +0200 Message-ID: <35264.1085082037@critter.freebsd.dk> cc: freebsd-current@freebsd.org Subject: Re: GEOM portable filesystem abstraction? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2004 19:40:40 -0000 In message , Jesse Guardiani writes: >Hello, > >I know next to nothing about GEOM, other than what >the man page says (which I admittedly didn't read >in full), so I'm probably totally off base, but I >thought I'd ask this anyway: > >It seems like GEOM functions as a bit of a disk >abstraction layer in FreeBSD. Would it be possible >to port the GEOM subsystem as a loadable kernel >module to Linux (and perhaps other OSes) to >facilitate pluggable, portable filesystem code? Port it: yes. Portable filesystem code: no. >Perhaps if GEOM were ported to Linux then Linux >could use FreeBSD's UFS2 code to read FreeBSD UFS >filesystems? No, for that you need to port the UFS code from freebsd. GEOM operates at the sector level and does things like mirror, stripe, RAID etc, but it sits under the filesystem and doesn't know anything about files, directories etc. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.