Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Sat, 9 Jun 2001 09:53:43 +0200
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin <cygwin@cygwin.com>
Subject: Re: tape under 1.1.8
Message-ID: <20010609095343.A28926@cygbert.vinschen.de>
Mail-Followup-To: cygwin <cygwin@cygwin.com>
References: <578174684.20010608230913@earthlink.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <578174684.20010608230913@earthlink.net>; from scowles@earthlink.net on Fri, Jun 08, 2001 at 11:09:13PM -0700

On Fri, Jun 08, 2001 at 11:09:13PM -0700, S. Cowles wrote:
> I am having trouble with tape mounts under Cygwin 1.3.2-1.  In the
> past, I've had no problems with 1.1.8, etc.  The output of cygcheck is
> included in this message. The error message I get is:
> 
> 22:58:10 [529] vcv:bioinfogen/harold% dd if=/dev/rmt ibs=10k of=gigo
> dd: /dev/rmt: Permission denied 0+0 records in 0+0 records out

The block size set in the tape driver is different from the block size
on the tape. Either you know the block size of the tape and set
your driver accordingly:

	mt -f /dev/rmt setblk 5120

or you set your driver to "variable blocksize" which allows to
read all tapes the drive is capable of:

	mt -f /dev/rmt setblk 0

If you want to know the current setting of your driver, call

	mt -f /dev/rmt status 2

Corinna

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

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

