From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11082 invoked by alias); 26 Nov 2015 13:42:25 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 11069 invoked by uid 89); 26 Nov 2015 13:42:24 -0000 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 Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 26 Nov 2015 13:42:23 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 41E91A805ED; Thu, 26 Nov 2015 14:42:21 +0100 (CET) Date: Thu, 26 Nov 2015 13:52:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Ability to specify /cygdrive mount value in setup Message-ID: <20151126134221.GN2755@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20151125140420.12415@web008.roc2.bluetie.com> <1447966985.20151125232513@yandex.ru> <56562105.5040500@gmail.com> <6CF2FC1279D0844C9357664DC5A08BA21BC3C3B8@msgb09.nih.gov> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ee6FjwWxuMujAVRe" Content-Disposition: inline In-Reply-To: <6CF2FC1279D0844C9357664DC5A08BA21BC3C3B8@msgb09.nih.gov> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-11/txt/msg00428.txt.bz2 --ee6FjwWxuMujAVRe Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2291 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 Content-length: 819 -----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--