delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/27/05:29:24

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: <39F94AAC.50296D72@redhat.com>
Date: Fri, 27 Oct 2000 11:28:12 +0200
From: Corinna Vinschen <vinschen AT redhat DOT com>
Reply-To: cygwin <cygwin AT sources DOT redhat DOT com>
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14-SMP i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: cygwin <cygwin AT sources DOT redhat DOT com>
Subject: Re: tar question...followup
References: <39F941A0 DOT 824BB89B AT NOSPAM-der DOT edf DOT fr-NOSPAM>

jean-hugues zorio wrote:
> Can someone confirm to me that the drive path is something like
> \Device\ScsiPort3.Raw ?
> 
> If not, what *is* an NT drive path ?
> 
> If yes, then I  have a problem with the syntax, as if I try something
> like:
>       mount \Device\ScsiPort3.Raw /dev/rmt

Nope. That's the syntax used in the native NT system while we
are using the Win32 subsystem. All NT native paths are sort of
translated to the outer world in an appropriate fashion for the
subsystem you're working in.

The device specific Win32 paths are those:

Tape drives:    \\.\tapeX             with X = 0..n
Raw partitions: \\.\X:                with X = A..Z
Raw hard disks: \\.\physicaldriveX    with X = 0..n

You have to use those paths in the mount table.

For tapes: Use a Cygwin device name beginning with 'n' for
no rewind handling, each other name is used as a hint to
treat the device as rewind device. For example:

mount -f -s -b //./tape0  /dev/mouth    == rewind
mount -f -s -b //./tape0  /dev/nose     == no rewind

Note the forward slashes in the Win32 path, They are translated
automatically to backslashes.

And, nevertheless, mount raw devices ALWAYS BINARY! Use `-b'
in the mount command.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                        mailto:cygwin AT sources DOT redhat DOT com
Red Hat, Inc.
mailto:vinschen AT redhat DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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