delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/10/28/01:00:45

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=f5Q8SCDUyfP/4l6Z
WUNOrtMfbrD1WdKo/zGJYd38nopejDqZrV9xLqa42a3LSjGMQyzY2oVtFy8EXJkY
4u8mbqSbryzWWyQQ2RiD8N2a60s8+50VJmzmHqZD0sPvjYBs/CYJWFMqOf2JLCJv
y2J93R28m0t9+P5gzSHIVvdzxR8=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=1mJ3qCtNEDpybCioASFzNg
zmsic=; b=AWofxDbE22eAkqSIdrzdvQzyapHdyYuAbmrq4ha9LPsdznQ29zVsA+
VZZ8TGTfzpfUkGZvL6bU2d5NM8+TPSJrYep8qIZSm1j1EOHBjmN+YYNw9cgXanLU
M78P1BU18lE+AT9sr+kk7i7FNSF7Wt5Vh4mxHZoVMlrKkYWEVJDXk=
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-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=
X-HELO: mout.kundenserver.de
Subject: Hard links [was: Re: OPENMPI only works on Cygwin Terminal not windows Command Line]
To: cygwin AT cygwin DOT com
References: <CAK=LkowuGPCG-OEg8Sfo-kwr07xQBGVWj6fvjv9ueFTV-Umn_g AT mail DOT gmail DOT com> <CAK=LkozzXqD2Wcdifi3+QdXNhSOWNXm=DvvYJvcZbrM3U5tDRA AT mail DOT gmail DOT com> <bb6c2e33-d5e6-08a0-0354-5ba2a8815373 AT towo DOT net> <b060cbdb-c3e9-e08d-eba2-763e5fc97d88 AT SystematicSw DOT ab DOT ca>
From: Thomas Wolff <towo AT towo DOT net>
Message-ID: <94318bef-1db5-6220-5b05-c16d8dcb40a2@towo.net>
Date: Mon, 28 Oct 2019 05:59:45 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <b060cbdb-c3e9-e08d-eba2-763e5fc97d88@SystematicSw.ab.ca>
X-IsSubscribed: yes

Am 27.10.2019 um 21:04 schrieb Brian Inglis:
> On 2019-10-27 13:21, Thomas Wolff wrote:
> ...
>> Change the soft link to a hard link, in cygwin, with an exe suffix.
> Cygwin needs to be running Windows 10 in dev mode with WSL installed to enable
> this without elevation I think.
> Otherwise you will need an elevated shell, and be careful if you use mklink, as
> the arguments are swapped from ln:
>
> 	> REM mklink /h LINK_NAME TARGET
> 	> mklink /h C:\cygwin64\bin\mpicc.exe C:\cygwin64\bin\opalwrapper.exe
> 	> mklink /h C:\cygwin64\bin\mpiexec.exe C:\cygwin64\bin\opalwrapper.exe

Additional privileges are required for Windows *soft* links. Hard links have always worked without. You can use cygwin ln alike.


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