delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/04/02/04:40:51

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=IDnsVjp6kdAltoezJkpIYhCWktL5BSWvNG/JxGjVqERPEPGsXBwBD
GQMnnm1rVuNyKuFTsDvV3Ypnh5EumjZydXSTCfxTxAy3X3J9yq3K+IsvdcuDDBLN
NUYs0uMNYnq3n9/WLNLoIMjEXEHjl8lKEmzawrBHrfai7tS3BraVts=
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=n02MC5QzSbSaXsaAskZBn3jSLvw=; b=E+SN3+H/Zr+yiDCPcqakr9Bx+l7Q
K5XUSI8GziIbGee6km8McJg2d03JNZ+sckUD3mj0vHvc7FF2OzPL6UM8/9iSzC33
2ErglxjDYgVtG5HFsjLWPZT2C8fvjoBpTPodI/mZIeTHccyNlL4GZLl0K0kZZtcs
E5ZarkdasDUCDDI=
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: Wed, 2 Apr 2014 10:40:26 +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: <20140402084026.GM2508@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> <20140331102745 DOT GD23383 AT calimero DOT vinschen DOT de> <533AEBD6 DOT 3040209 AT tlinx DOT org>
MIME-Version: 1.0
In-Reply-To: <533AEBD6.3040209@tlinx.org>
User-Agent: Mutt/1.5.21 (2010-09-15)

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

On Apr  1 09:39, Linda Walsh wrote:
> Corinna Vinschen wrote:
> >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...
> >>
> >>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.
> >>
> >>So could it be seen by cygwin as a dir and not a symlink.
> >>
> >>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.
> ----
> If I mount a device using mount vol in 2 different places, will they
> have different device numbers the same?

The same, just as on Linux.

> I.e. fallback position is to use a small partition for common elements
> and mount it multiple times in the hierarchy.
>=20
> Seems like mounting the same vol on a subdir of itself would cause
> a look if the device number doesn't change -- but not sure why the
> device number would change.???

Sorry, but I really don't understand your question here.


Corinna

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

--lHGcFxmlz1yfXmOs
Content-Type: application/pgp-signature

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

iQIcBAEBAgAGBQJTO8z6AAoJEPU2Bp2uRE+geXAP/ApVzDFXA5GZ0TI1wyF3FVnu
Y8khMHmuJu/VI2lq51/85qKzDA/MH1MBJDOKsHspfaDuM53euFHU6QAceKXhy+o0
0bHPZrwprkdnSFI0aanLGqS4VN7PpDRDqg6ovxcCm+h8cG2Ts3v2+aHVwviCDtNk
vCJRoUE/ZaYsqoUhmzH20Oe9vp0HFRdc6k6ztvR18MP3rp1GrPOL/JulvDJFtrAl
172bKcktqq7cAjhQwPQKZSllam34o5BKZwPW8mNSyx8BwXf5SvrVzObo0MFJ87t9
sNgBtGEybT4BOOJdHS8Ek9PvJDMCORpwiktFrJt/RYabVFsFP825bAvg+giybTtI
cIJMbHmjYCrBzmHO6nljoe1CgwUaywx9O+Z2CqKk9GcbBsh1U9U/MDpgWE44uoYo
eUDZ7v5HMWPdfMUT+TXRF+iowqAx5vXIMr4v9Slcj7rUW/r6VEJ3WoJkjkRzPVWy
kuYIU0fAXujq6UeAfcWjcw8mDekPmLcxD1EGeBz8pjF88lvrn0yHkp4h5eTvrC+N
zqdVJ4tUHHr32ZdUiFAHSV1h8VRapOb2ao8A+MO9s9P/k0r2QGfyS/JoAlamefyc
R20dXJbMrStLjPb3fcr5moDVZmoBRbM0tNvGia9gll9ESOz0g6yB6/Bk81jMGaQp
GWKBoasS7965umbl77RZ
=5oc+
-----END PGP SIGNATURE-----

--lHGcFxmlz1yfXmOs--

- Raw text -


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