It should work.  Try maybe giving the -c explicitly to gzip.
I don't think there are any problems with the shell that would
affect it.  Maybe do a cmp between the pipe and the result of
combining them, to make sure that isn't the problem.  But I'm
not sure what wouldn't work, it looks good to me.  -Tom

On Wed, 18 Sep 2002, BzF wrote:

> Date: Wed, 18 Sep 2002 23:48:05 +0200
> From: BzF <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [tomsrtbt] joining and extracting archive
>
> Hello,
> if I have tar.gz archive divided into severeal pieces with split and put
> each on floppy disk, then I can use this command:
>
> ( while mount -o ro -t vfat /dev/fd0 /fl; do cat /fl/x*;
> echo -n 'Insert next' >&2; umount /fl; read; done ) | gzip -d | tar -xf -
>
> on my "big" distribution to unpack it on-the-fly (without creating
> big temporary file by joining all pieces together).
>
> But it doesn't work on tomsrtbt - after inserting second floppy and
> pressing a key I got this error:
>
> Segmentation fault
> gzip: invalid compressed data--format violated
> gzip: invalid compressed data--crc error
> gzip: invalid compressed data--length error
> tar: Ready for volume 2
> tar: Type "go" when ready to proceed (or "quit" to abort):
>
>
> Is there a way how to unpack this files without joining them somewhere?
> (I plan to use it with cd-roms, and on the target harddisk probably won't be
> enough space to join the files)
>
> Thanks
> BzF
>

Reply via email to