From owner-freebsd-questions@FreeBSD.ORG Wed Feb 18 05:47:15 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 9381D16A4CE; Wed, 18 Feb 2004 05:47:15 -0800 (PST) Received: from smtp01.syd.iprimus.net.au (smtp01.syd.iprimus.net.au [210.50.30.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 685FC43D1D; Wed, 18 Feb 2004 05:47:15 -0800 (PST) (envelope-from tim@robbins.dropbear.id.au) Received: from robbins.dropbear.id.au (210.50.200.29) by smtp01.syd.iprimus.net.au (7.0.024) id 402BA927001E1177; Thu, 19 Feb 2004 00:47:13 +1100 Received: by robbins.dropbear.id.au (Postfix, from userid 1000) id 6604041BD; Thu, 19 Feb 2004 00:46:37 +1100 (EST) Date: Thu, 19 Feb 2004 00:46:37 +1100 From: Tim Robbins To: Stefan Krantz Message-ID: <20040218134637.GA31532@cat.robbins.dropbear.id.au> References: <20040217103909.N73217@yabba.500mhz.net> <20040217100822.GA13286@xor.obsecurity.org> <20040217110937.Y73217@yabba.500mhz.net> <20040217102121.GA13632@xor.obsecurity.org> <20040217112251.GA25431@cat.robbins.dropbear.id.au> <20040217140218.H900@yabba.500mhz.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040217140218.H900@yabba.500mhz.net> User-Agent: Mutt/1.4.1i 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 13:47:15 -0000 On Tue, Feb 17, 2004 at 02:04:06PM +0100, Stefan Krantz wrote: > > > > > > > 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. > > > > Try this patch and let me know how it goes. > > This patch worked great! Thanks for testing it - I'll commit a slightly improved version shortly. Tim