This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Unable to read/write to a tape with tar
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 23 Aug 2005 13:38:12 +0200
- Subject: Re: Unable to read/write to a tape with tar
- References: <BAY104-F41A822F0C0C252EFE506E87A90@phx.gbl>
- Reply-to: cygwin at cygwin dot com
On Aug 23 09:17, cyril bonnard wrote:
> So here we are again ;-)
>
> the output:
> Administrateur@t-0e0d94b2a0f54 ~
> $ strace -o d:/stracemt mt -f /dev/st0 status
> mt: /dev/st0: Invalid request code
>
>
> Administrateur@t-0e0d94b2a0f54 ~
> $ strace -o d:/stracetar tar -cvf /dev/st0 d:/importPy
> d:/importPy/
> d:/importPy/a.py
> d:/importPy/a.pyc
> d:/importPy/a.py~
> d:/importPy/b.py
> d:/importPy/b.py~
> d:/importPy/Copie de a.py
> d:/importPy/Copie de a.pyc
> d:/importPy/Copie de a.py~
> d:/importPy/Copie de b.py
> d:/importPy/Copie de b.py~
> tar: /dev/st0: Wrote only 0 of 10240 bytes
> tar: Error is not recoverable: exiting now
Well, I had a look into the straces and it's really weird. Opening
the tape device works fine, but calling any of the Win32 tape functions
(for instance GetTapeParameter) results in a Win32 error 1, "Incorrect
function". I can't change anything in Cygwin to circumvent this and
I can't get any further information. It's just this, no Win32 tape
access function is working.
This is really unexpected. I'm wondering if something's broken in your
configuration. Maybe the driver is broken? Perhaps you should try to
reinstall it or something.
Sorry if that's no help,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:cygwin@cygwin.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/