From owner-freebsd-questions@FreeBSD.ORG Tue Feb 17 20:03:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21FB916A4CE; Tue, 17 Feb 2004 20:03:25 -0800 (PST) Received: from mailout2.pacific.net.au (mailout2.pacific.net.au [61.8.0.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B04143D31; Tue, 17 Feb 2004 20:03:24 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86])i1I43N5O028242; Wed, 18 Feb 2004 15:03:23 +1100 Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) i1I43C0I032110; Wed, 18 Feb 2004 15:03:13 +1100 Date: Wed, 18 Feb 2004 15:03:12 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Tim Robbins In-Reply-To: <20040218021247.GA28724@cat.robbins.dropbear.id.au> Message-ID: <20040218150001.A20241@gamplex.bde.org> References: <20040217103909.N73217@yabba.500mhz.net> <20040217100822.GA13286@xor.obsecurity.org> <20040217102121.GA13632@xor.obsecurity.org> <20040218112014.V19484@gamplex.bde.org> <20040218021247.GA28724@cat.robbins.dropbear.id.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Stefan Krantz cc: freebsd-questions@freebsd.org cc: bde@freebsd.org cc: Kris Kennaway Subject: Re: Anyway to extract a large file from EXT2FS filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2004 04:03:25 -0000 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