delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/09/07:37:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 9 Sep 2004 13:37:42 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: reading from tape device on windows 2000
Message-ID: <20040909113742.GO17670@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <opsd123oz6qyp5i7 AT ab DOT biatel DOT signum DOT pl>
Mime-Version: 1.0
In-Reply-To: <opsd123oz6qyp5i7@ab.biatel.signum.pl>
User-Agent: Mutt/1.4.2i

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 AT cygwin DOT 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/

- Raw text -


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