This is the mail archive of the
mailing list for the Cygwin project.
Re: Request for Junctions be treated consistently
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Corinna Vinschen <cygwin at cygwin dot com>
- Date: Mon, 7 Apr 2014 22:04:27 +0400
- Subject: Re: Request for Junctions be treated consistently
- Authentication-results: sourceware.org; auth=none
- References: <5336C0DF dot 5080102 at tlinx dot org> <5336C23B dot 2070309 at tlinx dot org> <20140331102745 dot GD23383 at calimero dot vinschen dot de> <533AEBD6 dot 3040209 at tlinx dot org> <20140402084026 dot GM2508 at calimero dot vinschen dot de> <533FE56D dot 5010809 at tlinx dot org> <20140407092342 dot GF2061 at calimero dot vinschen dot de>
- Reply-to: cygwin at cygwin dot com
Greetings, Corinna Vinschen!
>> I don't think your original concern is as big a problem as you
>> think, as is indicated by the above setup on linux.
>> I.e. is there some other reason to not treat "linkd" mounts
>> the same as "mountvol" mounts -- in a manner equivalent to linux's
>> 'bind' mounts?
>> I.e. I don't see that that linkd which creates a junction-mount
>> point, should be treated as a symlink. It would provide valuable
>> benefit in cygwin terms in being able to setup directories at
>> multiple place like 'bind' does on linux, and be resistant to being
>> overwritten like symlinks.
> Look, directory reparse points are, by and large, symlinks to another,
> real directory entry. The directory has a primary path, which is its
> own path under which it has been created, and the reparse point is just
> a pointer to this directory. If that's not a symlink, what is?
Uhm, there's two ways to look at it.
You may call it a "symlink", but in fact, Linux equivalent of a reparse point
is a mount --bind, or, perhaps, a block-type device mounted at specific
directory. It's a [literal] filesystem junction (in common meaning of
"junction"), while symlink is more like conventional language construct.
I.e., you can make a reparse point to local resource, that was not
assigned a drive letter. Enough that it's a local filesystem, and you know
But you can't make a reparse point to a network share, for example, even if
that share is mapped to a drive letter. But you can make a [native] symlink to
Andrey Repin (email@example.com) 07.04.2014, <21:55>
Sorry for my terrible english...
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple