delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/04/06:44:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <42F1F189.2090407@decodon.com>
Date: Thu, 04 Aug 2005 12:44:25 +0200
From: Frank-Michael Moser <moser AT decodon DOT com>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin and NTFS Junction Points
References: <080320051737 DOT 1393 DOT 42F100EC00014F6E0000057122007358340A050E040D0C079D0A AT comcast DOT net> <42F11228 DOT 2030305 AT air2web DOT com> <42F113B6 DOT 843BA07D AT dessent DOT net> <20050803200818 DOT GI14783 AT calimero DOT vinschen DOT de>
In-Reply-To: <20050803200818.GI14783@calimero.vinschen.de>
X-Virus-Status: Clean
X-Source: DECODON
X-IsSubscribed: yes

Corinna,

I understand your objections but I think this all could be seen from an
alternate point of view.

As you said, JPs, as they are implemented, are less useful than real
POSIX symlinks. Now instead of miming Microsofts intention with the JPs,
why not simply considering them consequently as symlinks in Cygwin and
so making them really useful, at least for Cygwin users. This could be
competed by installing NTFSLink and so getting JPs consequently and
transparently handled as POSIX-like symlinks in Windows Explorer and
Cygwin and thus making them *very* useful finally.

Frank-Michael

Corinna Vinschen wrote:
> On Aug  3 11:57, Brian Dessent wrote:
> 
>>Richard Campbell wrote:
>>
>>
>>>>To some degree, Junction Points are more like directory HARD links,
>>>>rather than symlinks.
>>>
>>>What degree is this?
>>>
>>>Everything I can see seems to say junction points function as symlinks
>>>for directories, with retargeting, dangling, and fixing options.
>>>
>>>I admit the documentation I have been looking at is sketchy - do you
>>>have some better info?
>>
>>You can't use a junction point to make a relative link, as you can with
>>symbolic links.  That makes them significantly less useful.
> 
> 
> That makes them next to useless from a POSIX point of view.  Actually,
> even though junction points allow to create links to directories on the
> same file system (but not to files *shaking head*), the important
> functionality is to allow to mount file systems into the hirarchy of
> another file system.  To me, junction points are more like mount points,
> not symlinks.  Since mount points are transparent and don't act like
> symlinks to cp/mv/rm and friends, I won't opt for treating junctions as
> symlinks in the Cygwin DLL.
> 
> At least not in the general case.  In theory, we could implement it like
> this:  If the target is a fs, treat the junction like a mount point (aka,
> transparently as a normal directory), otherwise, if the target is a
> directory, treat the junction as a symlink.
> 
> However, this is complicated, time consuming and error prone.  I can easily
> imagine that this behaviour results in a strange, unexpected behaviour for
> some people.
> 
> As a side note, I must admit that I was very excited when I heard about
> reparse points for the first time when Win2K was in Beta stage.  Back then,
> it sounded like the kitchen sink for getting rid of drive letters and to
> allow mounts and symlinks being implemented transparently throughout Cygwin
> and Win32 native apps.  Well, reality catched up pretty quickly...
> 
> 
> Corinna
> 


-- 
------------------------------------------------------------
DECODON GmbH                        phone: +49(0)3834 515231
W.-Rathenau-Str. 49a                  fax: +49(0)3834 515239
17489 Greifswald                    email: moser AT decodon DOT com
Germany                               web:   www.decodon.com
------------------------------------------------------------


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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