This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: multi-volume tar archive on floppies


Denis Laroche wrote:
> 
> Hi all,
> 
> i'm running the latest version of the user tools (B20.1) and trying to
> create a multi-volume tar archive on floppies with the following
> command:
> 
> bash-2.02$ tar --create --multi-volume --file=//a/tarfile.tar  /Program\
> Files/Tcl/lib
> 

You should specify the volume size (tape length) in kilo-bytes:
tar --tape-length=1390 --multi-volume -create --file=//a/foo.tar <files>

or shorter:
tar -L 1390 -Mcf //a/foo.tar <files>

1390 kbytes is the largest size of a file you can fit on a standard
FAT formatted HD floppy (although the file will appear to be 1420 kb).
Using Corinna's cygwin patches for raw device access you should be able
to write directly to the floppy device (I haven't tested this).

Regards,
Anders

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com