NTTAR
=====
This is a port of the GNU-tar 1.11.8 for Windows-NT
using the WIN32 tape API. Only nessesary modules are
included in this package. It is based on the structure
of the port of tar 1.10 with ASPI-support of
"chris@alderan.sdata.de". I made a little change in tar.c
to prevent removing the "/" of the entered pathname.
The modules are tested with a HP-SureStore Tape 5000
and Windows-NT 4.0.
The devicename of the tape is built by default with "0"
--> "\\.\tape0". Other names can be reached through an
environment variable named TAPEID. e.g. TAPEID=1
makes "\\.\tape1".
Enter tar --help to get full syntax-description
of the tar-command.
The filename "/dev/ct" specifies the cartridge-tape
and "/dev/nrct" specifies the no-rewind-cartridge-tape
(no rewind on close).
tar -c c:/some/dir - creates the tar-file "tar.out"
tar -cf archive.tar c:/some/dir - creates the tar-file "archive.tar"
tar -cf /dev/ct c:/some/dir - creates a tar-file on tape
and rewinds the tape on close.
tar -cf /dev/nrct c:/some/dir - creates a tar-file on the tape
and does *not* rewind the tape on close
To append one tar-file to the end of another
just use the "/dev/nrct" device.
E.g: 1) tar -cf /dev/nrct c:/some/dir
2) tar -cf /dev/ct d:/some/other/dir
Multi volume archives are supported by the tape-functions().
You may backup your whole disk in one GO to a multi
volume tape archive. E.g.: tar -cvMf /dev/ct c:/ d:/ e:/ f:/
writes your c:, d:, e: and f: - drive to the tape archive.
You might have noticed the use of "/" instead of "\"
to separate dirnames in a pathname. Don't use the
backslash in pathnames, use the normal slash.
If you have any suggestions or errors please feel free to send me an
e-mail.
Markus Barth
- mbarth2193@aol.com
barthm@csb.de
history:
6/2/97 - Added support of -b parameter to define blocksize
So the default blocksize is 20 * 512 and not 512 bytes