From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 118198 invoked by alias); 25 Nov 2015 21:34:00 -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 118157 invoked by uid 89); 25 Nov 2015 21:34:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: nihxway5out.hub.nih.gov Received: from nihxway5out.hub.nih.gov (HELO nihxway5out.hub.nih.gov) (128.231.90.113) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Wed, 25 Nov 2015 21:33:58 +0000 X-SBRS-Extended: Low X-IronPortListener: Outbound_SMTP Received: from unknown (HELO msgb03.nih.gov) ([156.40.71.137]) by nihxway5out.hub.nih.gov with ESMTP/TLS/AES256-SHA; 25 Nov 2015 16:33:51 -0500 Received: from MSGB09.nih.gov ([169.254.9.96]) by msgb03.nih.gov ([169.254.3.160]) with mapi id 14.03.0235.001; Wed, 25 Nov 2015 16:33:51 -0500 From: "Buchbinder, Barry (NIH/NIAID) [E]" To: "cygwin@cygwin.com" CC: 'cyg Simple' Subject: RE: Ability to specify /cygdrive mount value in setup Date: Wed, 25 Nov 2015 22:44:00 -0000 Message-ID: <6CF2FC1279D0844C9357664DC5A08BA21BC3C3B8@msgb09.nih.gov> References: <20151125140420.12415@web008.roc2.bluetie.com> <1447966985.20151125232513@yandex.ru> <56562105.5040500@gmail.com> In-Reply-To: <56562105.5040500@gmail.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg00412.txt.bz2 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 alr= eady exists >>> when you run setup-x86_64.exe the first time, setup will use that /etc/= fstab. >>> So all the links will be created during initial installation with / and= 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. It look like those links are created by /etc/postinstall/base-files-mketc.s= h. 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. - Barry Disclaimer: Statements made herein are not made on behalf of NIAID. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple