Subject: Re: ext2fs revision 1
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Antti Kantee <pooka@iki.fi>
List: current-users
Date: 11/13/1999 21:00:18
On Sat Nov 13 1999 at 19:47:19 +0100, Manuel Bouyer wrote:

> > Changing the revision number in the kernel isn't enough ;)
> > 
> > All (intelligent-type) suggestions and help worshipped.
> 
> Could you try to change the test (2 occurances):
> if (fs2h32(fs->e2fs_rev) != E2FS_REV) {
> to:
> if (fs2h32(fs->e2fs_rev) != E2FS_REV && fs2h32(fs->e2fs_rev) != (E2FS_REV+1)) {
> 
> in src/sys/ufs/ext2fs/ext2fs_vfsops.c and see what happen ?
> I think you should be at last able to mount it read only (don't try R/W
> unless you have backup !).

I guess that wouldn't help much either, since mounting the filesystem is
not a problem, more of a problem is the fact that I get an instant panic
the moment I type ls .

> I'll install a redhat 6.0 on my home PC soon so I should be able to look at
> this more closely.

I'm in the process of trying to get a 2.2 kernel to compile on an
ancient slackware I found here at home. The annoying thing about this is
that I can't find any documentation about rev 1 anywhere. I'm just
guessing it's a 2.2-thingie because I couldn't mount the fs on a 2.0
kernel.

thank god for linux!

-- 
  "Never underestimate the power of the Lite side of the \Source/"
 Antti Kantee   /       NetBSD        \  1973 <- draken   \    / o
<pooka@iki.fi> / http://www.netbsd.org \  platters -> 1999 \  /  |
______________/ Free Multiplatform UN*X \___________________\/__ |