delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/11/25/16:34:17

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:from:to:cc:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=ZOoeJioDuco1U93aEULpokGvdqmvm
rIVJfEXvz1MfkRMeworubZSbUjJwg9dBmg0qdKNND/3wRQFHZEdvQ+yP45RKQP5F
WVEfLaM6DEhFeExFHXMT8zu18PqxUEXhSPjSXFb4ziNoUiNqRpPQfpPLqSA+mDsG
7LFyaoCWnVKXuQ=
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:from:to:cc:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=AVDxbeYzdap5mYnzrK+MU+RiJZg=; b=HJq
RtN8Qw3gKlCg+vm7x+5lq2OrMSFTG+XUvwlRwiwO+rt913z6NYYN+AO3RVy9vlbR
4+grIs2YrxEh6tm/MiD6C3mhGDWbm3M4ia53+et/fVO72+MBKZiSXmVkJo/NSl41
3g4ZM03MNKDEjkMpVawDuM+ikpIl+pD/DPQ8jpfY=
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=-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
X-SBRS-Extended: Low
X-IronPortListener: Outbound_SMTP
From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder AT niaid DOT nih DOT gov>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
CC: "'cyg Simple'" <cygsimple AT gmail DOT com>
Subject: RE: Ability to specify /cygdrive mount value in setup
Date: Wed, 25 Nov 2015 21:33:50 +0000
Message-ID: <6CF2FC1279D0844C9357664DC5A08BA21BC3C3B8@msgb09.nih.gov>
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>
In-Reply-To: <56562105.5040500@gmail.com>
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id tAPLYCXg028473

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 already 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.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.

- 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


- Raw text -


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