delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/19/03:33:53

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Mon, 19 Feb 2001 09:33:15 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: TAR Tape Support.
Message-ID: <20010219093315.B908@cygbert.vinschen.de>
Mail-Followup-To: cygwin <cygwin AT cygwin DOT com>
References: <005701c09a31$b1ac54b0$2ccdf7a5 AT martquest DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <005701c09a31$b1ac54b0$2ccdf7a5@martquest.com>; from tcorbet@IX.Netcom.COM on Sun, Feb 18, 2001 at 09:06:17PM -0800

On Sun, Feb 18, 2001 at 09:06:17PM -0800, J. Terry Corbet wrote:
> I am using the most current release of all the Cygwin tools, but I am unable
> to read a Unix tar tape on my Windows NT 4.0 [SP6] system's 4mm DAT, SCSI
> tape drive.  [Reading and writing NT backups works fine, so it's neither a
> hardware not an NT configruation problem.]
> 
> I have scanned the archives on this topic and it certainly appears to be
> well known that there have been problems in this area.  The threads of mail
> seem to suggest that there are [were] different versions of the mt, tar and
> other tape-related utilities at some points in time.  I am hoping that the
> most current code reflects the best-available tape support.  I can, in fact,
> confirm device access using:
> 
> mt -f /dev/st0 status  2
> tape capacity    :  1657260 KB          remaining        :  1646720 KB
> current block    :        0             write protected  :       no
> datcompression   :       on
> min block size   :        1             max block size   :    65536
> def block size   :      512             cur block size   :     5120
> report setmarks  :      off
> 
> tar -tvf /dev/st0, however, yields:
> 
> tar: /dev/st0: Cannot open: No such file or directory
> tar: Error is not recoverable: exiting now
> 
> Looking at the archives, someone suggested running strace for a related
> problem.  Perhaps this output will help someone diagnose the problem and
> suggest what I do to fix it:
> 
> tar 248 mount_info::conv_to_win32_path: conv_to_win32_path (/dev/st0)
> tar 248 normalize_posix_path: src /dev/st0
> tar 248 normalize_posix_path: /dev/st0 = normalize_posix_path (/dev/st0)
> tar 248 mount_info::conv_to_win32_path: \\.\tape0:(rel), \\.\tape0:(abs)
> 0x0(flags) = conv_to_win32_path (/dev/st0)
> tar 248 path_conv::check: GetVolumeInformation(\\.\tape0:\) = ERR,

User error. As mentioned in the documentation, it's

	NOT \\.\tape0:

	BUT \\.\tape0

	             ^here's the difference.

Corinna

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

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019