Re: how do I extract a 2.6 gigabyte .tar.gz file ?
Darxus <darxus@Op.Net> writes:
> On Thu, 29 Oct 1998, Laurent PICOULEAU wrote:
>
> > I think that dd will have no problem to truncate you file :
> > dd if=tarfile of=just_a_try bs=1k count=2000000 would give you a file
> > named just_a_try containing the beginning of your tarfile but limited
> > to a size of slightly less than 2GB. Just ajust the count value if you
> > don't have enough space. With the skip parameter you'll be able to get
> > the end of your file too.
> >
> > I've tried that with small file and it works and dd is able to cope with
> > partition of any size I think, so : it should work.
>
> Nope, doesn't work. Apparently even dd goes through the vfs layer.
Did you try the loopback device yet?
losetup /dev/loop1 <file>
cat /dev/loop1 |tar xzf -
HTH,
Jens
--
Jens.Ritter@weh.rwth-aachen.de grimaldi@debian.org
KeyID: 2048/E451C639 1998/01/28
Print: 5F 3D 43 1E 24 1E CC 48 1E 05 93 3A A7 10 73 37
Habit is habit, and not to be flung out of the window by any man, but coaxed
down-stairs a step at a time.
-- Mark Twain, "Pudd'nhead Wilson's Calendar
Reply to: