delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/09/16:22:08

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <26273372.post@talk.nabble.com>
References: <26260606 DOT post AT talk DOT nabble DOT com> <416096c60911082351l7e3415e2s28f10549f3cf4136 AT mail DOT gmail DOT com> <20091109120333 DOT GF26344 AT calimero DOT vinschen DOT de> <26269606 DOT post AT talk DOT nabble DOT com> <20091109171803 DOT GK26344 AT calimero DOT vinschen DOT de> <26270509 DOT post AT talk DOT nabble DOT com> <20091109180913 DOT GA14129 AT calimero DOT vinschen DOT de> <26272067 DOT post AT talk DOT nabble DOT com> <26272231 DOT post AT talk DOT nabble DOT com> <26273372 DOT post AT talk DOT nabble DOT com>
From: "DePriest, Jason R." <jrdepriest AT gmail DOT com>
Date: Mon, 9 Nov 2009 21:21:33 +0000
Message-ID: <31b7d2790911091321y2f1b860fh79cd994f87d4f44c@mail.gmail.com>
Subject: Re: Finding junction points in cygwin
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Mon, Nov 9, 2009 at 8:46 PM, aputerguy <> wrote:
>
> More generally, could someone point me to a single source that can accura=
tely
> compare and contrast the following notions of "links" in cygwin/windoze:
>
> 1. Hard links (ln)
> 2. Soft links (ln -s)
> =A0 =A0- Old style
> =A0 =A0- New style
> 3. Windows shortcuts
> 4. Junctions created by junction.exe
> 5. Reparse points created by linkd.exe
> 6. Other types of reparse points?
> 5. Mount points created by cygwin mount
> 6. Mount points created by mountvol
> 7. Letter drives created by dosdev
> 8. Letter drives created using Administrative Tools computer management
> 9. Other types of mounting?
>
> I know that some of the above only work on files, some only on directorie=
s,
> some only on shares, etc.
> but there is a lot of overlap and a nice table would be very helpful.
>
> Personally, I'm sure I don't understand all the differences, subtleties,
> limitations, and when to use which one. I'm also left with the feeling th=
at
> Microsoft just keeps throwing new flavors of links and mounts rather than
> going with a consistent approach but maybe I'm just biased to *nix.
>
>

There is also the 'subst' command that lets you create a directory and
point it to a drive.

C:\>subst /?
Associates a path with a drive letter.

SUBST [drive1: [drive2:]path]
SUBST drive1: /D

  drive1:        Specifies a virtual drive to which you want to assign a pa=
th.
  [drive2:]path  Specifies a physical drive and path you want to assign to
                 a virtual drive.
  /D             Deletes a substituted (virtual) drive.

Type SUBST with no parameters to display a list of current virtual drives.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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