delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/06/13:13:05

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
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: Windows 2000 Junction Points
Date: Thu, 6 Dec 2001 13:12:44 -0500
Message-ID: <6EB31774D39507408D04392F40A10B2BC1FE54@FDYEXC202.mgroupnet.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Windows 2000 Junction Points
Thread-Index: AcF+gZ9KyVjOuZ/WT12v1hHVSo7rnw==
From: "Roth, Kevin P." <KPRoth AT MarathonOil DOT com>
To: <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 06 Dec 2001 18:12:44.0171 (UTC) FILETIME=[99F18DB0:01C17E81]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id fB6ID4r09642

My take on this:

ln -s /source /destination should create "symbolic" links; the closest
approximation in the NT world is either "subst.exe" (not quite the same,
really more like `mount` for DOS) or a .LNK file (which, as you've
noticed, doesn't do anything for you from a cmd.exe command line,
although it will work fine from windows explorer).

ln -d /source /destination should perhaps create a junction point (as a
non-administrative windows user couldn't create one either).

Keeping in mind that the Posix representation of the filesystem is just
that, it's probably best to just make a note that linkd and junction are
available tools and not bother having cygwin do this at all.

--Kevin



-----Original Message-----
From: Kim, Anthony [mailto:Anthony DOT Kim AT vw DOT com]
Sent: Thursday, December 06, 2001 10:53 AM

Windows 2000 (having NTFS 5.0) allows the creation of directory
symbolic links. This can be used as mount points for hard drive
volumes or to symlink directories across file systems. In the
literature, the directory links are called "junction points".

Disk Administration snap-in can be used to mount a drive to a
directory or you can use linkd.exe (ResKit) or junction.exe
(SysInternals).

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