X-Spam-Check-By: sourceware.org Date: Fri, 7 Jul 2006 16:37:47 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: cygwin cpio with tape support? Message-ID: <20060707143747.GZ18873@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <0B325729120E424CA37C2D7832B3F0E201A95372 AT CINMLVEM20 DOT e2k DOT ad DOT ge DOT com> <0B325729120E424CA37C2D7832B3F0E201A95373 AT CINMLVEM20 DOT e2k DOT ad DOT ge DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0B325729120E424CA37C2D7832B3F0E201A95373@CINMLVEM20.e2k.ad.ge.com> User-Agent: Mutt/1.4.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 On Jul 7 10:02, Beauchamp, Warren J (GE Comm Fin) wrote: > Hi, > > I have poked around on the web trying to find this for a while and am > out of luck. > > I have a DAT drive on a Win2000 server, have installed the latest build > of cygwin(1.5.20), and am able to mount and access the DAT drive with mt > and tar but not with cpio. There's a cpio archive on the tape I need to > read. I have seen references to cygwin builds of cpio that contain tape > support. Can you point me in the right direction for the current > binaries? Tape support is in Cygwin, transparent to applications. tar or cpio don't know anything about it. The usual problem when accessing a tape fails is the fact that the blocksize of the OS tape driver is not set to the blocksize on the tape. Either you know the blocksize on the tape is, say, 120 bytes, in which case you set the OS tape driver to 120 bytes: $ mt setblk 120 or you don't know the block size on the tape in which case you set the OS tape driver to variable block size: $ mt setblk 0 Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/