Subject: Re: ext2fs and largefile
To: Juan RP <firstname.lastname@example.org>
From: Manuel Bouyer <email@example.com>
Date: 09/08/2005 23:26:02
On Thu, Sep 08, 2005 at 10:58:35PM +0200, Juan RP wrote:
> On Thu, 8 Sep 2005 22:46:56 +0200
> Manuel Bouyer <firstname.lastname@example.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]
Ha, I forgot this. Yes, this should do the right thing.
Manuel Bouyer <email@example.com>
NetBSD: 26 ans d'experience feront toujours la difference