X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 633B238418A8
Authentication-Results: sourceware.org;
 dmarc=pass (p=none dis=none) header.from=gmx.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmx.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1653673310;
 bh=4IS11OU1/neiAYKrzpERQQ0r2ZX2UC3zA3F5txRdzw8=;
 h=X-UI-Sender-Class:Date:To:References:From:Reply-To:Subject:
 In-Reply-To;
 b=jJxSTSK0KhvUpkAPWO+K++J/qqJpogY9a9O7BWUIsYPePRyejMh0tx+hydg4n05Dn
 eCtDEzSzuTWuBGPEJkoLJvxRaOzmE5PvCW+dQqN/eEKvc8b0QfI0Xwg9Ig/X8os7X7
 8lNTE/6phFQ51j6gBOcy5jPStuG0OPtaGEzulSeY=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Message-ID: <2f867d27-b135-2af8-9dbb-458812b20b7c@gmx.com>
Date: Fri, 27 May 2022 18:41:49 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
 Thunderbird/91.9.1
Content-Language: en-GB
To: cygwin@cygwin.com
References: <CANe7G9EE5Q9kd7FM=+ERhhB2zBxyNo1Tx7Rbuy=X4svaG2m0fw@mail.gmail.com>
 <20220527133120.58530edd99f4a87c605b8a04@nifty.ne.jp>
 <CANe7G9EZbuKOJt_X2mq1X70Y=tWFiy5_w9fnKp59EgCGQjAUAw@mail.gmail.com>
 <20220527181849.6baaa5d9e8446f3e7d23cbee@nifty.ne.jp>
From: Sam Edge <sam.edge@gmx.com>
Subject: Re: Unable to execute Cygwin application within UDF format
In-Reply-To: <20220527181849.6baaa5d9e8446f3e7d23cbee@nifty.ne.jp>
X-Provags-ID: V03:K1:9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UnfLfuQfQ0B0meSSIJQgbpOXxyDuThb1UH2aOgfeGaszkvjdmYkOUzql
 du8q1+7evSOqjxu0mbLhkV9ERjZHUv98WP0Magox58eNgF6ubAR4+Br7Yz7BhG/NTmT11+iVB
 lJJ1nOpw59SyD4BoTP7raPOLSpzivjwn1lyyNRHGi0+yt4ccqvtDI9NkL6TiI2dYe0AVX1xOU
 YrOei6gtStNuFQJSRFotcmsk5EktbtVG5psb5qLjuGkrT4dFGzHOryZirwVWVySg3zD4fApxZ
 PMVUAdBH2y9nxgETrgiy9yqOnU6aHv/tFPEfxtDA3BXANM2r3cowdcokBerfugxrBt2WLcpj4
 3U94mFeXkGkjq1xdOJiPfnVL7e+LE1DlDbTeTzxmiNpcAQ3KPAvJl2ggQ==
X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,
 SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Reply-To: Sam Edge <sam.edge@noreply>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On 27/05/2022 10:18, Takashi Yano wrote:

> On Fri, 27 May 2022 16:47:09 +0800
> Sam Lin wrote:
>> I have also successfully executed that is to move cygwin1.dll to the root
>> directory to execute.
>>
>> Will cygwin1.dll be supported to execute in UDF format in the future?
> As I wrote earlier, it doesn't matter that the file system
> is UDF. cygwin1.dll 3.2.0 and later seems to cause problems
> if it is placed in the root directory.
>
> Even with UDF format, the problem does not occur if hello.exe
> and cygwin1.dll are placed in any directory other than root
> directory.

Perhaps the Cygwin DLL is trying to identify the Cygwin root directory
as one higher than its own location so that it can locate /etc/fstab
etc. If it's in the root of a drive maybe it's getting confused. Create
an x:\bin\ directory (where x is the drive letter of the UDF device)
into which to place cygwin1.dll and the executable.

--
Sam Edge



-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
