reading from tape device on windows 2000

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Sep 9 11:44:00 GMT 2004


On Sep  9 12:51, hs wrote:
> I am having problems while reading from dds tape device.
> I use the same procedure that works on knoppix linux live distro.
> 
> I am setting block size
> mt -f /dev/st0 setblk 10240
> and then try to read from the device with cat
> cat /dev/nst0 > file.tar
> and I get a message like
> cat: /dev/nst0: Bad address
> 
> I have mt V2.3, Corinna Vinschen, Apr 19 2004
> latest cygwin
> 
> Any ideas what is wrong with it ?

Urgh, yes.  It's a bug in Cygwin.  Actually it's a pretty dumb typo
which results in a too small buffer used for reading from tape.  I've
checked in a patch.  Watch out for the next developers snapshot on
http://cygwin.com/snapshots/


Thanks for the report,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list