delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/24/23:23:20

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
Date: Thu, 24 May 2001 23:22:42 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: The death of the //x use in cygwin
Message-ID: <20010524232242.A21130@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i

I wanted to give a heads up to everyone that the //c method
for accessing drives will finally be removed in Cygwin 1.3.3.
We've been threatening to do this for more than a year and
the time has finally come.

This means that if you do something like:

ls //c/foo

it will be interpreted as "list directory 'foo' on server 'c'".

So, if you want to access files on a MS-DOS device, use the /cygdrive
method of accessing the drive:

ls /cygdrive/c/foo

But you all knew about this already, right?

If this is too cumbersome, you can change /cygdrive to whatever
you want.  Many people seem to like to have the drives accessible
as a directory so that c: == /c .  The easiest way to default to
this behavior is to do this:

mount -s --change-cygdrive-prefix /

Or conversely, if you think that /cygdrive is too short and too
hard to remember, you could also do something like:

mount -s --change-cygdrive-prefix /bobs-disk-devices

Then, you can access drives as:

ls /bobs-disk-devices/c/foo

Note that the default "mount mode" for these devices remains as "text
mounts".  If you want to change the mount mode to be "binmode', you
can do this:

mount -b -s --change-cygdrive-prefix /

For a more advanced description on what these options do, check out
the cygwin documentation at http://www.cygwin.com/ .

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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