delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/03/11/13:06:29

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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=n9IADFpf+8jn+muF
QGPHMPghyQu2AuRXiAVtS7zHQaiGl8OPWgzWxfQO6w3WirLhDNAv19qIG4DWHeJP
zVNvixmD+uPhJpMXDF8IZGkTkYWvVtd+kyfebfD66hZkG/JyAIV3+DwGR3U+3Mqh
cYwalj8Q2ZLoFcFdmWzbqJCN4Kc=
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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=qnlmTevpGTftw/7d61K1hJ
HZqqI=; b=GTrzxgHeZz0gqneCkacxFsq14m+FXE6PDxszkkerQMjEhfoRJFD46e
hf/sUexgWGp337p8N91SROLe62sXB/Tn1yHYTKhXDc+ER6e9SJbouJyFyRTx6lXY
yjt+Aw18OrSX0GMcDmDo4TBwlQmvBjh27pFvhRXfRoko9In4Dplg4=
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=-0.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*f:sk:753097b, H*MI:sk:753097b, H*i:sk:753097b, UD:ru
X-HELO: forward1o.cmail.yandex.net
Authentication-Results: smtp2o.mail.yandex.net; dkim=pass header.i=@yandex.ru
X-Yandex-Suid-Status: 1 0,1 0
Date: Sat, 11 Mar 2017 21:03:28 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1411220149.20170311210328@yandex.ru>
To: cyg Simple <cygsimple AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: Junctions != Symlinks; Treat Junctions as MS-FS mounts; MS-symlinks are symlinks
In-Reply-To: <753097b6-210e-1073-6dd5-b0cc4c76571f@gmail.com>
References: <58C31431 DOT 1020408 AT tlinx DOT org> <753097b6-210e-1073-6dd5-b0cc4c76571f AT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, cyg Simple!

>>    Same problem under "/opt" under linux.  "/opt" is
>> a directory on my root partition.  When I wanted to
>> install "VirtualBox" (which lives under "/opt/VirtualBox" it
>> refused to run from a path that had a symlink in it.  How
>> would you solve that?
>> 
>>    I used a 'bind' mount.  VirtualBox rejected
>> symlinks in its base path, but it does work with mounted
>> filesystems.
>> 
>>    In the same way, not only Cygwin's "setup.exe"
>> but also many of the "install" scripts that install programs
>> under cygwin, check to see if there is a symlink as part
>> of their base path.  If they find one -- they remove it
>> and re-create the directory where there used to be a
>> symlink.  Result: "/usr/share/man/man1/newprog1.gz"
>> s all alone under 'man' as "/usr/share/info/newprog.gz"
>> is by itself under /usr/share/info.   Where did the rest
>> of my files go?
>> 
>>    They are still there -- but under
>> "/Users/share/...".  That's my main problem.  Cygwin
>> doesn't install things in "/usr/share/<location>/<prog>"
>> But first, removes all existing symlinks in its base
>> path.
>> 

> Have you considered the Windows mountvol to resolve this issue?  Using a
> similar example as above you could use mountvol to assign a VolumeName
> to [A-Z]:/Users/share as e.g. S: and modify the /etc/fstab entry to:

> S:/ /usr/share ntfs binary,posix=0,acl,user,notexec 0 0

The very idea to not use disk letters is to not use disk letters.
Assigning disk letters to volumes defeat the original idea.


-- 
With best regards,
Andrey Repin
Saturday, March 11, 2017 21:02:39

Sorry for my terrible english...


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