[95960] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Unidentified subject!

daemon@ATHENA.MIT.EDU (Jan Carlson)
Thu Oct 22 13:35:56 1998

Date: Thu, 22 Oct 1998 13:14:20 -0400
From: Jan Carlson <janc@iname.com>
To: robert@ccaz.com
CC: RedHat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

robert wrote:

>However, I have tried specifying the -M option to no avail.  I guess the
>option only works if it was specified when the archive was created.?

The -M format is unique to Gnu tar.
Try -L  instead, as it applies to any type of media, not just tapes.

$ tar --help | less        and note this line:
-L, --tape-length=NUM          change tape after writing NUM x 1024 bytes

With 1440k diskettes, you would unpack using

$ tar -xvpf /dev/fd0 --tape-length=1440

This works as long as the floppies are not compressed.
If their archive IS compressed, try this

rm /tmp/filepro.taz
while :
do
  echo -n "Insert next diskette, type y: "
  read ans
  if [ xx$ans != xxy ]
  then
    exit
  fi
  dd if=/dev/fd0 >>/tmp/filepro.taz
done

Then,

$ tar xvzf /tmp/filepro.taz



--

Jan Carlson
janc@iname.com   Scarborough, Ontario, Canada
Mailed with Netscape 4.5 on Red Hat Linux 5.1





-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post