Subject: Re: ext2fs and largefile
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Juan RP <juan@xtrarom.org>
List: tech-kern
Date: 09/08/2005 22:58:35
On Thu, 8 Sep 2005 22:46:56 +0200
Manuel Bouyer <bouyer@antioche.eu.org> wrote:

> On Thu, Sep 08, 2005 at 11:22:35AM +0200, Frank Naumann wrote:
> > Hello!
> > 
> > I have a question about ext2fs and largefiles on it. Looks like
> > it's not really supported. I installed the e2fsprogs under NetBSD
> > and created a normally ext2 partition with mke2fs. It worked fine
> > so far and was perfectly accessible from NetBSD and WinXP. Under
> > WinXP with the ext2 driver I copied a large file (above 4gb) into
> > this partition. As side effect the large_file bit in the features
> > of the superblock is set (EXT2_FEATURE_RO_COMPAT_LARGE_FILE). And
> > now it's no longer accessible from NetBSD (only read only
> > mountable). But on automatic startup fsck_ext2fs always fails and
> > let the system go into single user mode.
> 
> Yes, ext2fs large file is not supported yet.

What about the following? (which was added for NetBSD 3.0)

ext2fs, fsck_ext2fs(8): Upgrade filesystems automatically to
    support files >2GB if they are already at revision 1,
    filesystems at revision 0 will not be touched. [ws 20050209]

(src/doc/CHANGES.prev in -current).