Mail Archives: cygwin/2001/02/19/03:33:53
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 -