delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/03/04:28:22

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: Mark Himsley <mark AT mdsh DOT com>
To: Wim Versteeg <willem DOT versteeg AT rug DOT ac DOT be>
Cc: cygwin AT cygwin DOT com
Subject: Re: Acces tape-unit with cygwin
Date: Wed, 03 Oct 2001 09:22:38 +0100
Message-ID: <qbilrtg94pa1b69vbt846ei87ch7alg7eu@4ax.com>
References: <3BB93638 DOT 6CF30FA8 AT rug DOT ac DOT be> <3BBA2135 DOT DCA2ED72 AT iee DOT org> <3BBA1985 DOT 1E77F908 AT rug DOT ac DOT be>
In-Reply-To: <3BBA1985.1E77F908@rug.ac.be>
X-Mailer: Forte Agent 1.8/32.548
MIME-Version: 1.0

On Tue, 02 Oct 2001 21:46:13 +0200 you wrote:

>Don,
>
>Thanks for your quick reply. But unfortunately I can't find this tape-device
>(tape0) in de cygwin-directory or other dir's. Do I need to do an extra
>installation. Please could you inform me how to install/detect this tape-unit?

Did you *follow* the simple instructions?

The command:

mount -f -s -b "//./tape0" "/dev/st0"

mounts the device which Windows thinks is the first tape drive onto
Cygwin's /dev/st0. You can then control it with mt or just read/write data
from/to /dev/st0.

The /dev/nst* devices are non-rewind devices, just like Linux.

There is PLENTY of information in the archives and on the web site.


>Regards, Wim
>
>Don Sharp wrote:
>> 
>> Wim Versteeg wrote:
>> >
>> > Hallo,
>> >
>> > I installed CYGWIN on my PC under winNT without tape-unit. Today I connected a
>> > tape-unit via SCSI to my PC . The winNT backup system detects my drive. Could
>> > you inform me how to use/install this tape-unit under CYGWIN (by dd if=TAPE or
>> > tar....) This tar-option would be interesting for me!
>> >
>> 
>> You need to mount the tape decice(s) like
>> 
>> mount -f -s -b "//./tape0" "/dev/st0"
>> mount -f -s -b "//./tape0" "/dev/nst0"
>> 
>> Notice the norewind version above
>> 
>> You can now use
>> 
>> dd if=/dev/st0 bs=tape_block_size > file_on_disc
>> tar tf /dev/st0
>> 
>> and
>> 
>> mt -f /dev/nst0 fsf 1
>> 
>> I hope that helps.
>> 
>> > Regards, Wim Versteeg
>> >
>> >
>> Cheers
>> 
>> Don Sharp

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