This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New Cygwin DLL 1.3.6 release & tapes ??


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]