public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: New Cygwin DLL 1.3.6 release & tapes ??
Date: Sat, 08 Dec 2001 03:11:00 -0000	[thread overview]
Message-ID: <20011208110924.U740@cygbert.vinschen.de> (raw)
In-Reply-To: <LPBBLLAHBIFKJPFJLMNJCEJJCEAA.Manfred@TR1.de>; from Manfred@TR1.de on Fri, Dec 07, 2001 at 10:43:02PM +0100

On Fri, Dec 07, 2001 at 10:43:02PM +0100, Manfred Drechsel wrote:
> hi chris,
> 
> first, many thanks for cygwin. i could not survive
> without it.
> 
> sorry to send you a mail directly.
> 
> am i doing something wrong or why does tar not
> work on my dat-tape?
> 
> here's more info:
> 
> ----------------------------------------
> # mount
> ...
> \\.\tape0 on /dev/st0 type system (binmode)

  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  That mount point is unnecessary since 1.3.3, see Users Guide:
  http://cygwin.com/cygwin-ug-net/using-specialnames.html#AEN590

> #
> # mt -f /dev/tape rewind
       ^^^^^^^^^^^^
       unnecessary since /dev/tape is the default device name for
       mt version >= 2.0.

> # tar -tf /dev/tape
> tar: /dev/tape: Cannot read: Permission denied
> tar: At beginning of tape, quitting now
> tar: Error is not recoverable: exiting now

Probably wrong blocksize.  See if the blocksize is set correctly:

$ mt status 2
tape capacity    :  1953251 KB          remaining        :  1953251 KB
current block    :        0             write protected  :       no             datcompression   :       on
min block size   :        1             max block size   :    65536
def block size   :    16384             cur block size   :      512
report setmarks  :       on

Then try using the correct fixed blocksize if you know it:

  mt selblk 5120

Or variable blocksize for reading if you don't know the blocksize
used for writing the tape:

  mt setblk 0

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

      reply	other threads:[~2001-12-08 10:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-07 13:59 Manfred Drechsel
2001-12-08  3:11 ` Corinna Vinschen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011208110924.U740@cygbert.vinschen.de \
    --to=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).