Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: Cc: "Sisira Jayasinghe" Subject: Re: Reading SCSI DAT in cygwin on Win 2K Date: Mon, 10 Jun 2002 01:08:01 +0100 Message-ID: References: <000f01c20fdf$0078de00$6e00a8c0 AT athlon1800> In-Reply-To: <000f01c20fdf$0078de00$6e00a8c0@athlon1800> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/