Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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