Subject: ext2 support
To: None <>
From: =?ISO-8859-1?Q?St=E9phane?= Witzmann <>
List: netbsd-users
Date: 10/30/2005 12:33:38

After creating then almost filling a 160GB ext2 partition under NetBSD, I
ran fsck on it. It says "filesystem contains large files but lacks
LARGE_FILE flag in superblock; fix y/n ?". As far as I know, the partition
is not readable on NetBSD if this flag is set. So, it is ok to say no ?
Since I used NetBSD to copy the data, it would probably have told me if
something was wrong. I mean I don't have large files for which ext2 doesn't
work unless the flag is turned on... or so I hope.

So here is question 1 : is the data (it is my backup, I'm trying ext2 so
that I can also read it on Linux or Windows [there is a driver, which I am
gonna try soon]) safe or not ?

Now question 2 : every time I fscked this ext2 partition (even before I put
any data on it), the system hung up soon after fsck returned. The first
time, it hung up when I synced, and right now (after copying the data) I
could sync but mount didn't return.

$ fsck.ext2 -f /dev/wd1e
$ sync
$ mount
/dev/wd0a on / type ffs (soft dependencies, local)
/dev/wdoe on /home type ffs (soft dependencies, local)
kernfs on /kern type kernfs (local)

At this point, I can type stuff but not switch to another tty.
This is not a permanent hangup, the system seems to go back to normal a few
minutes later.

Stéphane Witzmann