From owner-freebsd-questions@FreeBSD.ORG Wed Dec 3 21:38:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E855C106564A for ; Wed, 3 Dec 2008 21:38:10 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 946588FC12 for ; Wed, 3 Dec 2008 21:38:10 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so1581001yxb.13 for ; Wed, 03 Dec 2008 13:38:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=pMBctLBCtrL7LrUgPe/s1NJutOoXiw8gLtAB8d3JEVU=; b=nJJ0olnTBCZqW4iSzYhYCbNZ+2qVOlC5/FFZjdswIMQWheY7+K4QfKGnZX7J1yiTDK sWyyomKl4mHlLz1C48Fa44KSTLlkCKA7zCx01VXPl4nbomEGWDq2hQDuIY1I0/UIJR5U 7I1ugnAJ63WF5LHID+1GIS/tl1/2o0/TkmPF8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=SHZk1i7luDqXqOpsLiQbwg3baIuQqHZLZ2zgoBUN8h0vbsaY3JzYprpmXqqYeWeVaB dnwgFTgnE+61WYfWqZVmd7T9Ju/TwwIBqnCyjRUnFj7Ok7JLJl0Y1izJOyCciKaZvooG +MY5Etja7inWxeoXXVUdlvcJjQS/eAyP4RYQ8= Received: by 10.142.191.5 with SMTP id o5mr390545wff.9.1228340289114; Wed, 03 Dec 2008 13:38:09 -0800 (PST) Received: by 10.142.180.20 with HTTP; Wed, 3 Dec 2008 13:38:08 -0800 (PST) Message-ID: <1bd550a00812031338o77f70007lbcc52325c91f5b3b@mail.gmail.com> Date: Wed, 3 Dec 2008 22:38:08 +0100 From: "=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=" To: josh.carroll@gmail.com In-Reply-To: <8cb6106e0812031208k62c0979cjc97dd9fcdeb43b32@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1bd550a00812031145y7a94d7cbgf8c519ad35b2dce@mail.gmail.com> <8cb6106e0812031208k62c0979cjc97dd9fcdeb43b32@mail.gmail.com> Cc: FreeBSD Subject: Re: Mounting ext3fs partition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2008 21:38:11 -0000 On Wed, Dec 3, 2008 at 9:08 PM, Josh Carroll wrote= : > On Wed, Dec 3, 2008 at 2:45 PM, Fernando Apestegu=EDa > wrote: >> Hi all, >> >> I'm running FreeBSD 7.1-BETA2. I have several partitions/filesystems >> in my computer and I would like to have full access to all of them. >> >> I've mounted the NTFS partition without problems (though it is >> read-only, it's enough for me) >> >> I've compiled the kernel with the EXT2FS option. I can mount the partiti= on with: >> >> mount -t ext2fs /dev/ad4s1 /mnt/linux >> >> note: the partition is actually a ext3fs... >> >> But if I enter the mount point and do "ls", I get: >> >> ls: /mnt/linux: Bad file descriptor > > Is is possible you are running into a case where the inode size of the > partition is not the previous default for e2fsprogs of 128. I have a > patch that addresses this, but I am hesitant to suggest it, since I > have not yet validated that it does not trample some additional ext2 > metadata. However, in the testing I've done, it has worked with all > the tests I've put it through. > > You can verify the inode size with: > > tune2fs -l /dev/ad4s1 | grep "Inode size" > > It is likely 256 (the new e2fsprogs default), in which case you will > not be able to see or use the mount without a fix. If you're > interested in my patch, let me know and I can send it to you (the > machine it is hosted on is down at the moment). Hi josh, Exactly, it is 256. So according to you, I can't use the mounted filesystem, right? Could you please explain in more detail, what the problem is? Thanks in advance. > > Thanks, > Josh >