Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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/