delorie.com/archives/browse.cgi | search |
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 |
Message-ID: | <3BBACD76.7B5AA432@iee.org> |
Date: | Wed, 03 Oct 2001 09:33:58 +0100 |
From: | Don Sharp <dwsharp AT iee DOT org> |
X-Mailer: | Mozilla 4.78 [en] (WinNT; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
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 |
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> |
Wim Versteeg 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? > Cygwin works device magic via the registry mount table. Once you have done the mount, any reference to the device name, e.g. /dev/st0, is directed to the tape device that you mounted. The mount only has to be done once and you may thereafter refer to the device. The choice of name for the device is up to you. For example one of my machines has two tape drives and they are mounted as mount -f -s -b "//./tape0" "/dev/st0" mount -f -s -b "//./tape0" "/dev/nst0" mount -f -s -b "//./tape1" "/dev/nrmt0" mount -f -s -b "//./tape1" "/dev/rmt0" Cheers Don Sharp > Regards, Wim > > Don Sharp wrote: > > ...snip... > > > > 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 > > ------------------------------------------------------------------------ > -- > 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/ -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |