This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: reading from tape device on windows 2000
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 9 Sep 2004 13:37:42 +0200
- Subject: Re: reading from tape device on windows 2000
- References: <opsd123oz6qyp5i7@ab.biatel.signum.pl>
- Reply-to: cygwin at cygwin dot com
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/