cygwin tar to tape?
Corinna Vinschen
corinna.vinschen@cityweb.de
Thu May 6 08:35:00 GMT 1999
Willie Morrison wrote:
>
> We are trying to tar a directory to an xabyte tape on a scsi connection to
> a Windows NT workstation. We are trying the following command:
>
> tar -cvf \\tape1 images
>
> ... where images is a directory. The system builds up first tar block but
> when it comes to write it we get error denying access permission to
> \\tape1. We have a dat drive on tape0. We can write to tape with NT
> backup.
>
> We implemented the unix tools only from user.exe. Can one use unix mt
> commands to rewind tape and skip tape marks?
>
> If anyone can help us we would appreciate.
>
> Willie Morrison
The current offical release of cygwin doesn't contain working
tape support. The snapshots since 99-Jan-30 contains them, but
if you want to be on the safe side of life try the unofficial
version of B20.1, which already contains the patch:
ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Vinschen_Corinna/B20
contains various files, which are helpful using tapes:
The patched cygwin1.dll itself:
cv_cygwin1.dll.README
cv_cygwin1.dll.tar.gz
The mt-command:
mt-1.8.README
mt-1.8.tar.gz
A patched tar, which itself tries to set it's block size
(Not necessary, but less anger):
tar-1.12.tape_cygwin1.README
tar-1.12.tape_cygwin1.tar.gz
A patched cpio, which itself tries to set it's block size as the
forementioned tar does:
cpio-2.4.2-diffs
cpio-2.4.2.README
cpio-2.4.2.tar.gz
Regards,
Corinna
PS: The path to the tape would be '\\.\tape0', but this isn't needed
with cygwin. Instead, you should mount it:
mount -b //./tape0 /dev/st0 (rewind)
mount -b //./tape0 /dev/nst0 (norewind)
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list