delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/31/06:28:03

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=EjdwGftdV02i5yIUolZIrFO+h/P9DehP8m/f0a28tcdh55Ny/iMrm
ruorrBy26Fyl8nQbZejEy4THOM9LgSGXW+QNSPEa6aGxJFh9T8tPTjwDZhcGBRWW
kvd9+8EBtoHC7qd0W6kFOX68qwELgi14nDx/eC/wPYEMYL57XIVotc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=9iC7MmI79C6IbmP/9vcdQtEGMUo=; b=DA9BIQLIPK6uSEzm5c5eYAbKICO1
MLV0qHohG2vx4DCEQvhunGNNUcw5DaVJAhRCl+h8E//NYeAOBXWXi2LNTM+gmYn8
8epM0gZFLKyNhYnpA0wQceG7fZ1OrmFxc3mMjnVe+cqG5WfDJJnK+tjg9BWlsB4S
0btmYvyGY5JAmvs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 31 Mar 2014 12:27:45 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Request for Junctions be treated consistently
Message-ID: <20140331102745.GD23383@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <5336C0DF DOT 5080102 AT tlinx DOT org> <5336C23B DOT 2070309 AT tlinx DOT org>
MIME-Version: 1.0
In-Reply-To: <5336C23B.2070309@tlinx.org>
User-Agent: Mutt/1.5.21 (2010-09-15)

--zbGR4y+acU1DwHSi
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mar 29 05:53, Linda Walsh wrote:
> Linda Walsh wrote:
> >If you use the 'mountvol' you a *local* root folder
> >mounted at some drive letter that can be maintained over
> >boots. is listed as a JUNCTION and treated by cygwin
> >as a regular dir.
> >
> >For some reason the other type of directory hookup made
> >by "linkd" which also created a JUNKTION
> >vs. (mklink creating a SYMLINK or SYMLINKD) is shown
> >as a soft-pointer .
> ---- hit send instead of save...Sigh...
>=20
> What I would like to see is restoring the native
> directory look to 'linkd' so that it could be use as
> a weaker sybling of linux's 'bind' command. Since there is no way to
> namespaces or have symlinks
> honored with out this, I would really be beneficial to not have
> those lumped in with SYMLINKs, as they are really JUNCTIONS.
>=20
> So could it be seen by cygwin as a dir and not a symlink.
>=20
> Ideal cygwin would be able to tell there was a 'mount' there, but
> symlinks are just walked all over these days..

If you create a directory junction to an existing dir and treat it as
directory, the directory shows up twice under the same device number.
Find or tar will enumerate (and archive) the dir twice.

A mount junction is typically used to mount devices.  The mount point
will be visible because the device number changes at the mount dir.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--zbGR4y+acU1DwHSi
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTOUMhAAoJEPU2Bp2uRE+g1qcP/2JZsWO8PJqKdWfj4Y1pc30G
I7a/aGZR/H+PYtOPF8SKgtKjLWLYT2c0WcI8i+v7boEnS3UBA8cNLiESaIfX9Xti
wFnAhd/UNyaW0cfxhdwwjQhYBbNtRzfHMy59sYtaaeuKczBs70QVdFfhFszTSQXl
lWoPxY+KqL+pTIEoK+sfGnwA2ixHzXeKXTY/b5Qz1V2YowsosLl/S63AtORQMOG3
5qFLjRLWdlKHJzKxr/dFyn1mqR6WvXvHVJYV3ESwKCPdgCbSOvbPEQCcGil8dcvi
goXaIssCtcWCxxahkyW+U5nA3izdh22F3p77p2GhKPp7dR6INhr4/E6isNsMRwTa
kBLDHwXamLM/LEYYXh+TGupXnU/5i+qot5//Fof6a3pxmH+p8kzf9xiEQvceitDi
hum0BiDXH2jSsfhs0ijMHxLvnr5PupKdmpdviqgUolMoQRyKqN8S6PDCQjOmCkn9
KqiC4/D/HISmYWjzGHm3gqB7sTXTcKxrZOW13KBdvF1J3fd7hOwpjdlwilpoGPPX
HQOr5jqwP+RqOBhu5ofq3DNam1dtcAdwxopwQtVQyaLgpDYZspkLIJiWuCEuKUfa
fLlZwEgjcaiYYt+mkj7QDAK3lrl1g4HWAQFupH39SotP1kQ4pmk/bdKvTZiSFNpw
labVi/QZvZzP4Vov6mu1
=Qu85
-----END PGP SIGNATURE-----

--zbGR4y+acU1DwHSi--

- Raw text -


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