delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/09/20:08:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: Mark Himsley <mark AT mdsh DOT com>
To: <cygwin AT cygwin DOT com>
Cc: "Sisira Jayasinghe" <sisira AT cinci DOT rr DOT com>
Subject: Re: Reading SCSI DAT in cygwin on Win 2K
Date: Mon, 10 Jun 2002 01:08:01 +0100
Message-ID: <abr7gu8ehse3cjra81m3dnes4s8nn2tf9e@4ax.com>
References: <000f01c20fdf$0078de00$6e00a8c0 AT athlon1800>
In-Reply-To: <000f01c20fdf$0078de00$6e00a8c0@athlon1800>
MIME-Version: 1.0

On Sun, 9 Jun 2002 13:56:37 -0400 Sisira Jayasinghe wrote:

>Now when I try to read a tape, I get following message. Can you please let
>me know how do I get it to read the tape.
>
>$ tar -tvf /dev/st0
>tar: /dev/st0: Cannot read: Permission denied
>tar: At beginning of tape, quitting now
>tar: Error is not recoverable: exiting now

My guess is that you didn't set the block size.

Administrator AT BEDROOM:/home/Administrator
$ mt -f /dev/nst0 setblk 0
Administrator AT BEDROOM:/home/Administrator
$ mt -f /dev/nst0 rewind  
Administrator AT BEDROOM:/home/Administrator
$ tar -tvf /dev/st0
V--------- 0/0               0 2002-02-22 15:57:44
/cygdrive/w/mylittleisp.net/5eye/ Volume 1--Volume Header--
drwxr-xr-x IUSR_BEDROOM/Administrators 0 2001-09-18 10:57:35
cygdrive/w/mylittleisp.net/5eye/
[SNIP]
Administrator AT BEDROOM:/home/Administrator
$ mt -f /dev/nst0 offline
-- 
Mark Himsley
In Acton

--
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/

- Raw text -


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