From owner-freebsd-questions@FreeBSD.ORG Tue Feb 17 04:34:13 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 179E316A4CE; Tue, 17 Feb 2004 04:34:13 -0800 (PST) Received: from mailout1.pacific.net.au (mailout1.pacific.net.au [61.8.0.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91F0B43D1F; Tue, 17 Feb 2004 04:34:12 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87])i1HCYBLE011695; Tue, 17 Feb 2004 23:34:11 +1100 Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) i1HCY7ch014670; Tue, 17 Feb 2004 23:34:08 +1100 Date: Tue, 17 Feb 2004 23:34:07 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Kris Kennaway In-Reply-To: <20040217102121.GA13632@xor.obsecurity.org> Message-ID: <20040217232147.B17496@gamplex.bde.org> References: <20040217103909.N73217@yabba.500mhz.net> <20040217100822.GA13286@xor.obsecurity.org> <20040217102121.GA13632@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Stefan Krantz cc: freebsd-questions@FreeBSD.org cc: tjr@FreeBSD.org cc: bde@FreeBSD.org 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: Tue, 17 Feb 2004 12:34:13 -0000 On Tue, 17 Feb 2004, Kris Kennaway wrote: > 5BOn Tue, Feb 17, 2004 at 11:16:50AM +0100, Stefan Krantz wrote: > > > > On Tue, 17 Feb 2004, Kris Kennaway wrote: > > > > > On Tue, Feb 17, 2004 at 10:49:47AM +0100, Stefan Krantz wrote: > > > > > > > > Hi! > > > > > > > > I would like to extract a large (11GB) tar file on an ext3 filesystem. But > > > > it shows only to be about 3gb large: > > > > > > > > yabba# ls -la pictures.tar > > > > -rw-r--r-- 1 root wheel 3317055488 Feb 15 19:03 pictures.tar > > > > > > > > Is there any possible way to extract the file? > > > > > > It shouldn't be appearing truncated. Are you certain that this size > > > is incorrect, and the file has a different size when viewed from > > > another OS? > > > > Yes. Yesterday I tested the archive with "tar tvf" (11gb) in > > Linux and it tested OK. In FBSD it says "unexpected EOF". > > > > If I could i would just boot linux and split the file. But I can nolonger > > boot linux =/ (migrated to fbsd 5.2 ;). > > I'm CC'ing tjr and bde, who might have some idea about the problem. ext2fs under FreeBSD is missing support for files larger than Linux's old limit of 4GB. Fixing this should be relatively easy (start by using i_size_high when converting the Linux disk inode to a FreeBSDish in-core inode). I don't have any patches for this. Bruce