Mail Archives: cygwin/2006/07/10/12:19:03
<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 -