| delorie.com/archives/browse.cgi | search |
| 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=kpfdHkaRSJzyhNqIEQyzOBqdvtS/Kd8DC8H/msKD49aH0tMyfSFhk | |
| FG82r/ebEZogW2cuk+bocWKFq6kzjDrKuyQQp+TTLcchR1Ibb051ugP/YwfdDaOo | |
| lh2G/hDv2Ou/aaZUahAAWysvG7NlwEQXqbHkJU7B2gJp6YdHxmV1rY= | |
| 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=f3G22vAK3fpIT83+sK2YfcVbTsQ=; b=hrr+uGeoFotpoeSSoy+dqH9uRYHe | |
| s4jmM9CxIt04BSKBsL2oxDnWxpbKNyfBTloM3hU+StjffH2Ii9oLcWNg1sDgdoAP | |
| hlr7CjiUfNoH4t2DwLdmFh3Nbo9oV7yw04bpkL1AEUk+Je7FHAPUiNztBosAqJ52 | |
| qRxbeKfQ8MlDjTE= | |
| 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=-4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 |
| X-HELO: | calimero.vinschen.de |
| Date: | Thu, 26 Nov 2015 14:42:21 +0100 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Ability to specify /cygdrive mount value in setup |
| Message-ID: | <20151126134221.GN2755@calimero.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <20151125140420 DOT 12415 AT web008 DOT roc2 DOT bluetie DOT com> <1447966985 DOT 20151125232513 AT yandex DOT ru> <56562105 DOT 5040500 AT gmail DOT com> <6CF2FC1279D0844C9357664DC5A08BA21BC3C3B8 AT msgb09 DOT nih DOT gov> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <6CF2FC1279D0844C9357664DC5A08BA21BC3C3B8@msgb09.nih.gov> |
| User-Agent: | Mutt/1.5.23 (2014-03-12) |
--ee6FjwWxuMujAVRe
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Nov 25 21:33, Buchbinder, Barry (NIH/NIAID) [E] wrote:
> cyg Simple sent the following at Wednesday, November 25, 2015 3:59 PM
> >>> Wed, 25 Nov 2015 19:39:08 Andrey wrote:
> >>
> >>>>>> You can precreate fstab, I think.
> >>
> >>> Yes I do this all the time. If, for example, C:\cygwin64\etc\fstab a=
lready exists
> >>> when you run setup-x86_64.exe the first time, setup will use that /et=
c/fstab.
> >>> So all the links will be created during initial installation with / a=
nd not /cygdrive.
> >>
> >> Just which links we're talking about, yet again?...
> >>
> >
> >n 11/25/2015 3:25 PM, Andrey Repin wrote:
> >
> >find / -type l -exec ls -l {} \; | grep cygdrive
> >
> >lrwxrwxrwx 1 cyg_Simple cyg_Simple 46 Nov 25 09:29 /etc/hosts ->
> >/cygdrive/c/WINDOWS/System32/drivers/etc/hosts
> >lrwxrwxrwx 1 cyg_Simple cyg_Simple 49 Nov 25 09:29 /etc/networks ->
> >/cygdrive/c/WINDOWS/System32/drivers/etc/networks
> >lrwxrwxrwx 1 cyg_Simple cyg_Simple 49 Nov 25 09:29 /etc/protocols ->
> >/cygdrive/c/WINDOWS/System32/drivers/etc/protocol
> >lrwxrwxrwx 1 cyg_Simple cyg_Simple 49 Nov 25 09:29 /etc/services ->
> >/cygdrive/c/WINDOWS/System32/drivers/etc/services
> >
> >I also have the following which indicates that I modified /etc/fstab but
> >too late.
> >
> >lrwxrwxrwx 1 cyg_Simple cyg_Simple 0 Nov 25 15:54 /proc/cygdrive -> /
> >
> >If I were able to specify it at the start of setup this issue would not
> >be present.
>=20
> It look like those links are created by /etc/postinstall/base-files-mketc=
.sh.
> You could try just removing /etc/hosts, /etc/protocols, /etc/services, and
> /etc/networks, being careful to delete the symlink and not the target, and
> then re-run /etc/postinstall/base-files-mketc.sh.done. After modifying
> /etc/fstab, of course.
The right thing to do is to change the base-files package to utilize
/proc/cygdrive. It's a vrtual symlink pointing to the actual cygdrive
prefix currently in use. If these symlinks under /etc used the
/proc/cygdrive symlink, they would work all the time, independenly of
the actual cygdrive prefix.
Achim, any chance to tweak base-file accordingly?
Thanks,
Corinna
--=20
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
--ee6FjwWxuMujAVRe
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJWVww9AAoJEPU2Bp2uRE+gkd4P/jjeb2CsqEI0YkB7a25stK2b
/Ph+oT933Xhh5H40NJDvQKNPyH0ykXmY3GLDljObi08xlQlZM5utkLErieI/THSH
D9u3532m+o8jKN/j/Cjg679y905kGDcIA/iiFtB2ohiSYVjPuMm9PC2T6WCszmUT
G9yM/mpv45+BGA8Qa/W7UiEGzHFvszScL+kzsglJ61f93deLbGJRyr+WBBXd2xcp
IzMBdJ3dOY2RvPEbJapI+uEZ4mLHI2GUCgwunLayL9QPky70Uq/CVsOsnn8snezI
Ch+w1DZeHU+9DPIqZiXhjCu71RGi7WtkwEW2vYknvqX8OtFrpEXVxw3x3Fj243Ry
0xnJoSl/c6Jxw6MQx63l7QTbt0/yTJa4s6brfNlE5eis7z1uj4gMSQD6Vm0R4eHA
wdJqW41vdqv6z25IwIjQHQUAnDyKWAqzQ34OQ88kFdYBiO8c1dQMCrkY4SbDLswr
rUzZuIp5XJ6ybCsh1npN3f10vVFZJQxZmvhvXr60ubnklU8j44RbhoVSerluVXvA
W07W+8L+iYC7LsoVqdXUPP+y3a3hJ1I2HGN6B8vpsMpiNLk6+/X98Ua16rrmcHZw
QJguNkqeDy83qF0KcNdVOvr1s6JpLdLKUBENGO+OLJAEDk/cpo4Cnf0zEB+rRNbE
nHIT1W7POH5WswwP6//n
=gSGp
-----END PGP SIGNATURE-----
--ee6FjwWxuMujAVRe--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |