delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/08/15:16:59

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <391720EE.D52520FD@vinschen.de>
Date: Mon, 08 May 2000 22:17:50 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Organization: Cygnus Solutions, a Red Hat Company
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: JUAN LUIS GARCIA BUENDIA <JLUISGAR AT santandersupernet DOT com>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: tape support
References: <000501bfb91d$e37be140$5738b3c2 AT fermina>

JUAN LUIS GARCIA BUENDIA wrote:
> [...]
> -----------------------------------------------------------
> the command issued for mounting the tape device
> 
> bash-2.03$ mount -f -s -b //./tape0 /dev/ct
> [...]
> bash-2.03$ mt -f /dev/ct status
> tape capacity    :        0 KB          remaining        :        0 KB
> current block    :        0             write protected  :       no

The output is strange. Was a media in the drive? Why does NT
report a capacity of 0 and remaining 0?

Please insert a media into the drive and send me the output
of

	mt -f /dev/ct status 3

> bash-2.03$ tar cvf /dev/ct b20
> b20/
> b20/cori/
> b20/cori/cpio-2.4.2.README
> b20/cori/cpio-2.4.2.README.nfo
> b20/cori/cpio-2.4.2.tar.gz
> tar: Cannot write to /dev/ct: Permission denied
> tar: Error is not recoverable: exiting now

You get this `permission denied' when you try to read a tape,
that is written with another blocking factor than the Windows
tape driver is set to. Currently cygwin has no automatical
recognition for this. You must(!) know the blocking (U*Xes
typically uses 5K blocking on tape devices) and you can set
it with my `mt' command.

> i tried to use the command you wrote in your message
> 
> bash-2.03$ mount -f -s -b //./tape0 /dev/ct
> [...]
> bash-2.03$ mount -f -s -b '//./tape0' /dev/ct
> [...]
> bash-2.03$ mount -f -s -b "//./tape0" /dev/ct

What's that? Above you mentioned that you have successfully
mounted???

-- 
Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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