Skip site navigation (1)Skip section navigation (2)
Date:      03 Nov 2001 12:15:52 -0800
From:      swear@blarg.net (Gary W. Swearingen)
To:        Nils Holland <nils@tisys.org>
Cc:        David Kelly <dkelly@hiwaay.net>, Jim Arnold <jim@ohio.com>, Cliff Sarginson <cliff@raggedclown.net>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Splitting a tar archive
Message-ID:  <rfr8rfbog7.8rf@localhost.localdomain>
In-Reply-To: <20011102232955.W1449-100000@howie.ncptiddische.net>
References:  <20011102232955.W1449-100000@howie.ncptiddische.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Nils Holland <nils@tisys.org> writes:

> On Fri, 2 Nov 2001, David Kelly wrote:
> 
> > The problem with this method is (I've noticed) some CD drives report
> 
> That problem (at least I guess that it's that problem) has occured here in

The problem I noticed was that the data that comes off the CD is a bit
bigger than the HD file it originated from.  Tests showed no diff
between them if you ignore the extra stuff at the end of the CD data.

Creative use of "dd" (or maybe "cut") should help.  For untarring from
multiple CD, you might need do something like this:

(
  dd if=/dev/cdrw bs=2k count=<whatever1>
  echo -n "switch CDs and press Enter" 1>&2
  read XXX
  dd if=/dev/cdrw bs=2k count=<whatever2>
) | tar tzf -

But maybe tar's multiple-volume stuff wouldn't like that either, so
you'll either have to determine what it does like or write your own
multi-volume stuff.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?rfr8rfbog7.8rf>