Subject: Re: ext2fs and largefile
To: Ignatios Souvatzis <is@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 09/10/2005 21:09:36
On Sat, Sep 10, 2005 at 08:35:35PM +0200, Ignatios Souvatzis wrote:
> hi,
> 
> On Fri, Sep 09, 2005 at 10:01:28AM +0200, Manuel Bouyer wrote:
> > On Fri, Sep 09, 2005 at 08:16:29AM +0200, Frank Naumann wrote:
> 
> > > Ok, then another questions: Is there a simple way to clear the large_file 
> > > bit in the filesystem without a disk editor and fiddling out the right 
> > > bit?
> > 
> > I don't think so. The bit has been set because there is a large file on
> > the filsystem, now you have to deal with it.
> > It could be cleared if all large files have been deleted, but for this
> > the system would have to scan the whole tree ...
> 
> fsck_ext2fs could do this, I guess - isn't ext2fs ufs-alike enough to
> have one? (Sorry, never bothered.)

I didn't think at this. Yes, fsck_ext2fs, after scanning the filesystem,
would know if the bit can be cleared or not.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--