www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/04/01/17:29:04

From: Eric Backus <ericb AT lsid DOT hp DOT com>
Subject: Re: using tar.exe
To: kuku AT acds DOT physik DOT rwth-aachen DOT de
Date: Thu, 1 Apr 93 14:16:28 PST
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp)
Mailer: Elm [revision: 66.25]

> Does anyone know how to use tar (gnu-tar, djgpp version) with drive a:,b:?
> (and m(ultivolume) switch)?
> 
> --Chris

I've never actually used the multivolume stuff.  But I believe you
do something like:

	tar -M -L <size> -cvf a:<filename>

The <size> must be in Kbytes, and I believe will always get rounded up
to the next 10Kbyte boundary, so you'll have to manually round it down
to get your archive to fit on the device.

If everything works, tar will prompt you after filling each floppy.

Note that tar still goes through the MS-DOS filesystem when doing
this, so the floppies must already be formatted.  I think there is a
way to use the "-F" option to run a program between writing each
floppy, so you could probably use that to format floppies as you go.
--
				Eric Backus
				ericb AT lsid DOT hp DOT com
				(206) 335-2495

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019