delorie.com/archives/browse.cgi | search |
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; q=dns; s=default; b=dcrX | |
dhd2zUBQi6YTohbWdnSjVEXcdAUMH6O/PBzGtFYjritRRlFsoZ72TqBoJ6qdpgtj | |
YvwyTPYcgFTgLfkUWk4WM9ld2fPp0ZguQWiAtuYpcgLQG/YQzSF/sgdQ+aEASdMv | |
A1lMmgfsdYk6MKbSIUQhEtnKfRltx/Xo5x/RfNw= | |
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; s=default; bh=wJ2oEwvkYj | |
FCWcIW+qdMG9OwndA=; b=V9IhUS5FFfNlW9eUTx6SHrEQ2J55ZI0cXvNT4Nrlrc | |
RlTj134vF6KYceoAuEflCBCZApVMH//87dyste5oBUFlDK7nuRqXnMZAztGAdLSL | |
/MSGqyzekw0htJ74M96hpuenPv0bRdFdMauAeUXVqlVGYCMY4Udin6nYxZHPchkb | |
c= | |
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=-6.9 required=5.0 tests=BAYES_00,GIT_PATCH_2,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy= |
X-HELO: | mout.kundenserver.de |
Subject: | Re: Change in logical link behaviour |
To: | cygwin AT cygwin DOT com |
References: | <30792264-c452-7ea2-c83f-f368322387ea AT emrich-ebersheim DOT de> <20200302164851 DOT GS4045 AT calimero DOT vinschen DOT de> <d04228d9-eff9-6dd4-6cfc-80b24bc8fa3b AT emrich-ebersheim DOT de> <20200303133925 DOT GA4045 AT calimero DOT vinschen DOT de> <29f11aed-a529-c88b-af5d-3607f4959871 AT emrich-ebersheim DOT de> <20200303143117 DOT GB4045 AT calimero DOT vinschen DOT de> <20200303154913 DOT GD4045 AT calimero DOT vinschen DOT de> <99c7b27b-9ea8-cf1e-d5ce-afc685246f97 AT emrich-ebersheim DOT de> <20200303164124 DOT GE4045 AT calimero DOT vinschen DOT de> |
From: | Rainer Emrich <rainer AT emrich-ebersheim DOT de> |
Message-ID: | <a5ba45d5-eaec-4e91-e0dd-f3cf516294b6@emrich-ebersheim.de> |
Date: | Tue, 3 Mar 2020 18:33:53 +0100 |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <20200303164124.GE4045@calimero.vinschen.de> |
--IAfZdbIazYkl99qGgImjJN4z1smGMGrpD Content-Type: multipart/mixed; boundary="n1jW2cK5Kl5hXSdfQtBNUB7g3ubWsTa6O" --n1jW2cK5Kl5hXSdfQtBNUB7g3ubWsTa6O Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: quoted-printable Am 03.03.2020 um 17:41 schrieb Corinna Vinschen: > On Mar 3 17:05, Rainer Emrich wrote: >> Am 03.03.2020 um 16:49 schrieb Corinna Vinschen: >>> On Mar 3 15:31, Corinna Vinschen wrote: >>>> On Mar 3 15:19, Rainer Emrich wrote: >>>>> Am 03.03.2020 um 14:39 schrieb Corinna Vinschen: >>>>>> Aha! So powershell does not show the 'l'. >>>>> The most important thing is the difference between cygwin 3.0.7 and >>>>> cygwin 3.1.4. For cygwin 3.0.7 the link indicator is shown even in >>>>> powershell on Windows 7 but not with cygwin-3.1.4. And believe me, the >>>>> only difference is the cygwin version. >>>> >>>> I may believe you, but believe me that Cygwin has no influence on >>>> what powershell shows. See the output of cmd /c dir /a. The file >>>> is a native symlink. >>> >>> ...and for kicks I just tried this on W7 under Cygwin 3.0.7. The output >>> is the same as I pasted in https://cygwin.com/ml/cygwin/2020-03/msg0004= 3.html >>> >>> No 'l' mode flag, no 6th column in the mode output: >>> >>> Mode LastWriteTime Length Name >>> ---- ------------- ------ ---- >>> -a--- 03.03.2020 16:47 0 bar >>> >>> >> For me it's different. That's realy strange. >> >> Ok, so I can't rely on powershell here. Is there a recommended procedure >> for what I try in a script? >> >> Check if the current cygwin environment is able to create native symlink= s. >=20 > Unless I'm missing some new and shiny Windows onboard tool, that's > surprisingly tricky without creating your own executable checking just > that. Off the top of my head I don't see any other way than calling cmd > /c dir and some awk or sed hacking. Thank you, that's what I thought. Rainer --n1jW2cK5Kl5hXSdfQtBNUB7g3ubWsTa6O-- --IAfZdbIazYkl99qGgImjJN4z1smGMGrpD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEQq4BT9NfW50eSlCTkX2ILOIqatIFAl5elQEACgkQkX2ILOIq atLCDxAAg0Ck1JCltneszQzE+6Qp41Nzrrfag2kucTyRKacdDlQNAZ72k9QQksGF ebczt5HNVb+cy4NtkRDQjY3acnX59XwiNlLU05lWQjO9AcYjiLgAdPgUvo5Gg+T7 XxrkOBbxX7A0uA1xwTEasZtsdmAg19zHGYIQlcJpdkdgZcrHOOmqfnf4RnIsOIzw cXTOwarkIk/tf9NQuZakHqanpq0lFSoMCNAuJfCTRgNNQWMoA2UOpbo985DyA/8E 591BQGhcBlvMIVb6c1O0Dk+QMdlFOHLJWbuLQ7miebB5pkMN1bM+jqugC0iTJ7t4 3hEq67VJxFHfZ+yXuTmg/0xlYWHP3RG13TfCu5p4on/0TISs2a12FXImq2xrbWBs 9zxTmNAsS0qN42pPaOVzUyP2croTIc8i9VP1hjghrD+oN7qU/L0igpggjx8Q8iIG KwurCdoC5XVMDDtkaw6noTHIZiyfg58qMeg0UJ1vaM6IrgwMjjvK3Yhj3+i9isbi RM3wlSNEPC2hVOIRW4kUG6uZdN3f71qtnc7132u8cYMOqWFrSlmd07036QjGwiEb w73HULUlxBCxyAjPBM4wvwOD19kGP8spzyPhkERRz8pICcH+K4UpJoPzMtPbBdXM x0Uf8Mi5s0K1x2dXYbuuN/sue8LRwF96BNfI89RXD/PgzRz/zSQ= =e8cT -----END PGP SIGNATURE----- --IAfZdbIazYkl99qGgImjJN4z1smGMGrpD--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |