delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/13/13:07:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <4.3.1.2.20020513130235.02597f08@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
Date: Mon, 13 May 2002 13:04:10 -0400
To: David T-G <davidtg-cygwin AT justpickone DOT org>,
"CygWin Users' List" <cygwin AT cygwin DOT com>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: /cygdrive/c ==> //c
In-Reply-To: <20020511190039.GB8010@justpickone.org>
References: <4 DOT 3 DOT 1 DOT 2 DOT 20020510103253 DOT 025604b0 AT pop DOT ma DOT ultranet DOT com>
<20020510141705 DOT GW407 AT justpickone DOT org>
<4 DOT 3 DOT 1 DOT 2 DOT 20020510103253 DOT 025604b0 AT pop DOT ma DOT ultranet DOT com>
Mime-Version: 1.0

At 03:00 PM 5/11/2002, David T-G wrote:
>Larry, et al --
>
>...and then Larry Hall (RFK Partners, Inc) said...
>% 
>% At 10:17 AM 5/10/2002, David T-G wrote:
>% >
>% >I enjoyed being able to cd to //<driveletter>/<path> and was somewhat
>...
>% >to // (I can now change to /c/tmp or /d/data).  Is there any way to get
>% >back the double-slash behavior?
>...
>% 
>% No.  Your best bet is to stick with the /<driveletter>/<path> alternative,
>% if you don't like the "cygdrive" (or some other prefix).  "//" is generally
>
>It's just too long :-)
>


Change it to anything you like then with "mount".


<snip>


>% 
>% There's no reason to be mucking around the registry either to make any of 
>% these kinds of changes.  That's why the mount command exists.
>
>Hmmm...  Maybe I'll look into that, then!  [*sigh* as soon as I find the
>cygintl dll, apparently...]
>
>Anyone want to break the suspense and tell me how it's useful to me?


The quickest source of information for this:

#mount --help
Usage: mount [OPTION] [<win32path> <posixpath>]
   -b, --binary                  text files are equivalent to binary files
                                 (newline = \n)
   -c, --change-cygdrive-prefix  change the cygdrive path prefix to <posixpath>
   -f, --force                   force mount, don't warn about missing mount
                                 point directories
   -i, --import-old-mounts copy  old registry mount table mounts into the current

                                 mount areas
   -p, --show-cygdrive-prefix    show user and/or system cygdrive path prefix
   -s, --system                  add mount point to system-wide registry location

   -t, --text       (default)    text files get \r\n line endings
   -u, --user       (default)    add mount point to user registry location
   -x, --executable              treat all files under mount point as executables

   -X, --cygwin-executable       treat all files under mount point as cygwin
                                 executables
   -m, --mount-commands          write mount commands to replace user and
                                 system mount points and cygdrive prefixes



Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


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