From owner-freebsd-questions@FreeBSD.ORG  Tue Jul  5 10:41:44 2005
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
X-Original-To: freebsd-questions@freebsd.org
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 C4FF016A41C
	for <freebsd-questions@freebsd.org>;
	Tue,  5 Jul 2005 10:41:44 +0000 (GMT)
	(envelope-from keramida@ceid.upatras.gr)
Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.93])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2881043D55
	for <freebsd-questions@freebsd.org>;
	Tue,  5 Jul 2005 10:41:43 +0000 (GMT)
	(envelope-from keramida@ceid.upatras.gr)
Received: from beatrix.daedalusnetworks.priv (aris.bedc.ondsl.gr
	[62.103.39.226])
	by aiolos.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id
	j65AfcYV000717; Tue, 5 Jul 2005 13:41:38 +0300
Received: from beatrix.daedalusnetworks.priv (localhost [127.0.0.1])
	by beatrix.daedalusnetworks.priv (8.13.3+Sun/8.13.3) with ESMTP id
	j65Afcqp006233; Tue, 5 Jul 2005 13:41:38 +0300 (EEST)
Received: (from keramida@localhost)
	by beatrix.daedalusnetworks.priv (8.13.3+Sun/8.13.3/Submit) id
	j65Afbar006232; Tue, 5 Jul 2005 13:41:37 +0300 (EEST)
X-Authentication-Warning: beatrix.daedalusnetworks.priv: keramida set sender
	to keramida@ceid.upatras.gr using -f
Date: Tue, 5 Jul 2005 13:41:37 +0300
From: Giorgos Keramidas <keramida@ceid.upatras.gr>
To: Alex Zbyslaw <xfb52@dial.pipex.com>
Message-ID: <20050705104137.GA6220@beatrix.daedalusnetworks.priv>
References: <Pine.NEB.4.62.0507041813480.17535@societe.kerguelen.org>
	<42CA62C1.3090307@dial.pipex.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <42CA62C1.3090307@dial.pipex.com>
X-Mailman-Approved-At: Tue, 05 Jul 2005 13:29:35 +0000
Cc: Jaap Boender <jaapb@kerguelen.org>, freebsd-questions@freebsd.org
Subject: Re: fsck_ext2fs problems
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Jul 2005 10:41:44 -0000

On 2005-07-05 11:36, Alex Zbyslaw <xfb52@dial.pipex.com> wrote:
>Jaap Boender wrote:
>> I'd like to share a filesystem on the same computer between FreeBSD
>> and Linux, and as it seems that FreeBSD supports ext2 better than
>> Linux does ufs(2), I've created an ext2 filesystem. Mounting &
>> accessing Works fine, except when I try to fsck it, fsck_ext2fs fails
>> with the error message: "execve: No such file or directory". When I
>> use the e2fsck program, however, I can fsck the filesystem just fine.
>> Unfortunately, at boot time, FreeBSD wants to use fsck_ext2fs...
>>
>> A quick search on the Internet didn't show any solutions, so - does
>> anybody here know what I can do to get rid of the error message?
>
> Does Linux maybe support UFS(1) better than UFS(2)?

Not really.  The ufs support of Linux needs a bit of patching to support
all the block/fragment sizes that FreeBSD can use.  I had to patch the
kernel with the diff listed here:

http://lists.hellug.gr/pipermail/linux-greek-users/2004-November/101772.html

to force the Linux kernel to accept perfectly valid UFS1 partitions.