delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/03/25/10:43:55

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: <36FA494B.25DBA152@cityweb.de>
Date: Thu, 25 Mar 1999 15:33:47 +0100
From: Corinna Vinschen <corinna DOT vinschen AT cityweb DOT de>
X-Mailer: Mozilla 4.04 [en] (WinNT; I)
MIME-Version: 1.0
To: "Bajusz, Richard G." <bajuszr AT US-McLean DOT mail DOT saic DOT com>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Can I read a dd created tape?
References: <47FAD2902BA7D2119FCA0008C7A45F8F2C9074 AT mcl-its-exs01 DOT mail DOT saic DOT com>

Bajusz, Richard G. wrote:
> I've got a series of tapes created on a Sun with the dd command that I have
> to read on an
> NT workstation.  The current solution is to boot into Linux, read the tape
> to a FAT partition, and reboot into NT to process the data.  There must be a
> better way!
> Is there a version of dd (or something similar) for NT?

Try using the  patched version of b20.1, supporting raw access to partitions,
hard drives and tapes on

ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Vinschen_Corinna/B20

named
        cv_cygwin1.dll.README
        cv_cygwin1.dll.tar.gz

I have noticed an error in it, yesterday, which prevent usage of raw devices
as stdin, but usage as parameter as in

	dd if=/dev/st0 ...

is possible. The error will be corrected in one of the next winsup-snapshots.

Note, that the blocking factor is a _very_ important setting, because windows
sets default blocking of 512 bytes on raw devices. If your SUN writes with 5120
bytes blocking, you'll have to set the correct blocking factor, too, if your
tape drive has variable blocking factors. Try usage of the following commands
from the forementioned web page:

mt:	mt-1.8.README
	mt-1.8.tar.gz	(very useful! Setting of blocking factor as with linux mt)

cpio:	cpio-2.4.2.README
	cpio-2.4.2.tar.gz

tar:	tar-1.12.tape_cygwin1.README
	tar-1.12.tape_cygwin1.tar.gz

The dd from cygwin package is ok.

Hope, this helps,
Corinna



--
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