www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/05/06/11:35:56

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <3731B674.63588B38@cityweb.de>
Date: Thu, 06 May 1999 17:34:12 +0200
From: Corinna Vinschen <corinna DOT vinschen AT cityweb DOT de>
X-Mailer: Mozilla 4.51 [en] (WinNT; I)
X-Accept-Language: de,en
MIME-Version: 1.0
To: Willie Morrison <willie DOT morrison AT experian DOT com>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: cygwin tar to tape?
References: <s7318bc6 DOT 078 AT experian DOT com>

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 AT sourceware DOT cygnus DOT com

- Raw text -


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