Anyway to extract a large file from EXT2FS filesystem?

Bruce Evans bde at zeta.org.au
Tue Feb 17 20:03:25 PST 2004


On Wed, 18 Feb 2004, Tim Robbins wrote:

> On Wed, Feb 18, 2004 at 11:37:26AM +1100, Bruce Evans wrote:
> > The feature stuff needs to be handled for writing.
>
> I discovered that a few minutes after posting the patch :-) I decided to
> take the lazy way out for now and to return EFBIG if we would need to
> upgrade the filesystem to EXT2_DYNAMIC_REV or set ..._RO_COMPAT_LARGE_FILE.
> I think what's most important here is being able to read large files
> from Linux ext2 filesystems, and I don't like the current ext2 code
> enough to implement superblock updating etc.

The ext2 code seems to do a little more than necessary.  Anyway, we
shouldn't copy it, to keep the the superblock update parts of FreeBSD's
ext2fs free of the copyleft :-).

Bruce


More information about the freebsd-questions mailing list