delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/07/10:38:13

X-Spam-Check-By: sourceware.org
Date: Fri, 7 Jul 2006 16:37:47 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
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
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
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

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/

- Raw text -


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