delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/11/26/06:13:19

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D7ED7384A40A
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=ext.eeas.europa.eu
Authentication-Results: sourceware.org; spf=pass
smtp.mailfrom=Panagiotis DOT KAVALAGIOS AT ext DOT eeas DOT europa DOT eu
From: "KAVALAGIOS Panagiotis (EEAS-EXT)"
<Panagiotis DOT KAVALAGIOS AT ext DOT eeas DOT europa DOT eu>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: Cygwin mount option -s is not supported
Thread-Topic: Cygwin mount option -s is not supported
Thread-Index: AdbDMvs/wxAXvrYYQ2eV7Y1P985tWQAOtXtlAB1lOMA=
Date: Thu, 26 Nov 2020 11:12:31 +0000
Message-ID: <ff4142aff39a4b139aa0759aff0626fb@BELBRU-EXMP101.eeas.europa.eu>
References: <4697a70efd18481fa378325d2136322c AT BELBRU-EXMP101 DOT eeas DOT europa DOT eu>
<8f5d2511-c8a5-8a9e-3acc-d09da078fae1 AT gmail DOT com>
<ac41a9ca-5f9a-b173-0de6-baf95b02fee0 AT SystematicSw DOT ab DOT ca>
In-Reply-To: <ac41a9ca-5f9a-b173-0de6-baf95b02fee0@SystematicSw.ab.ca>
Accept-Language: en-GB, el-GR, en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.51.5.118]
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737
definitions=2020-11-26_03:2020-11-26,
2020-11-26 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam
score=0 suspectscore=0
mlxscore=0 adultscore=0 clxscore=1015 phishscore=0 lowpriorityscore=0
impostorscore=0 bulkscore=0 spamscore=0 mlxlogscore=999 malwarescore=0
priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1
engine=8.12.0-2009150000 definitions=main-2011260068
X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, BODY_8BITS,
KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,
SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 0AQBD3p1021389

> -----Original Message-----
> From: Cygwin <cygwin-bounces AT cygwin DOT com> On Behalf Of Brian Inglis
> Sent: 25 November 2020 21:59
> 
> On 2020-11-25 11:26, Vlado via Cygwin wrote:
> > On 25.11.2020 15:18, KAVALAGIOS Panagiotis (EEAS-EXT) wrote:
> 
> Mount -s was removed in 2008:
> https://sourceware.org/git/?p=newlib-
> cygwin.git;a=commitdiff;h=5f853b3fc5277da8cb5ba3ac7406447fe82e65de
> three months after it was set to be ignored.

That explains the mystery. Thanks!

> >>    if [ -n "`uname -s |grep -i cygwin_`" ]; then
> >>    # If we are on an new version of Cygnus we need to turn <letter>:/
> >> in
> >>    # the path to/cygdrive/<letter>/
> 
> Use of 'Cygnus' refers to 20+ years ago when Cygwin was a product.

So, it might have been working quite "recently" then :)

> > Hard to say why Oracle's script is written this way. Standard Cygwin
> > tool for file names conversion is cygpath. Instead of using sed, one
> > can write WL_HOME_CYGWIN=`cygpath -u $WL_HOME`
> > - simpler and the result will be more consistent. Example
> >
> > $ WL_HOME='C:\some\dir\subdir'            # Windows path $ echo
> > "$WL_HOME" | sed "s#\([a-zA-Z]\):#/cygdrive/c/\1#g"
> > /cygdrive/c/C\some\dir\subdir             # mixed forward and back
> > slashes $ cygpath -u "$WL_HOME"
> > /cygdrive/c/some/dir/subdir               # pretty Cygwin path
> 
> Especially note the cygpath -U -> /proc/cygdrive/, -a -> /..., and -p path
> conversion options should be used as appropriate: try all three!

Cygpath then is the correct approach to resolve this issue. I had no doubt about that. Anyway, this is not the only problem. They have messed the CLASSPATH as well and it needs to be updated to the correct libraries.

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

- Raw text -


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