delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/10/12:19:03

X-Spam-Check-By: sourceware.org
Date: Mon, 10 Jul 2006 12:18:42 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Beauchamp, Warren J (GE Comm Fin)" <warren DOT beauchamp AT ge DOT com>
cc: cygwin AT cygwin DOT com
Subject: RE: cygwin cpio with tape support?
In-Reply-To: <0B325729120E424CA37C2D7832B3F0E201A95382@CINMLVEM20.e2k.ad.ge.com>
Message-ID: <Pine.GSO.4.63.0607101211440.11065@access1.cims.nyu.edu>
References: <0B325729120E424CA37C2D7832B3F0E201A95382 AT CINMLVEM20 DOT e2k DOT ad DOT ge DOT com>
MIME-Version: 1.0
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

<http://cygwin.com/acronyms/#PPIOSPE>.  Thanks.
Also, top-posting reformatted.

On Mon, 10 Jul 2006, Beauchamp, Warren J (GE Comm Fin) wrote:

> -----Original Message-----
> From: Beauchamp, Warren J (GE Comm Fin)
> Sent: Friday, July 07, 2006 9:57 AM
> To: 'cygwin AT XXXXXX DOT XXX'
> Subject: RE: cygwin cpio with tape support?
>
> > -----Original Message-----
> > From: Igor Peshansky [mailto:pechtcha AT XX DOT XXX DOT XXX]
> > Sent: Friday, July 07, 2006 9:34 AM
> > To: Beauchamp, Warren J (GE Comm Fin)
> > Cc: cygwin AT XXXXXX DOT XXX

<http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.

> > Subject: Re: cygwin cpio with tape support?
> >
> > > On Fri, 7 Jul 2006, Beauchamp, Warren J 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?
> > >
> > > Can you access the drive with dd?  You should be able to use dd to write
> > > the archive to stdout, and then pipe it to "cpio -i"...
> > > HTH,
> > > 	Igor
> >
> > Hi Igor,
> >
> > dd appears to access the drive , but I get "dd: reading '/dev/st0':
> > cannot allocate memory"
> >
> > I tried: dd -if=/dev/st0 of=test123.bin
> > And: dd -if=/dev/st0 | cpio -i
> >
> > Thanks again,
> >
> > -Warren.
>
> Hi Igor,
>
> Looks like I needed to add the block size.
>
> "dd bs=5120 if=/dev/st0 of=test1.bin" works fine
>
> I'll try piping it to cpio next. Does the following syntax look right?
>
> "dd bs=5120 if=/dev/st0 | cpio -i"

That's what Corinna replied 3 days ago in
<http://cygwin.com/ml/cygwin/2006-07/msg00181.html>.

As for the syntax, I'm not a dd or cpio expert, so I would have to consult
the manpages, which you can do just as easily.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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