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 D9E983857C5C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=brian DOT inglis AT systematicsw DOT ab DOT ca X-Authority-Analysis: v=2.4 cv=NYRYa0P4 c=1 sm=1 tr=0 ts=5fc1889e a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=CCpqsmhAAAAA:8 a=uYT-Tk0qkVT609LjNaIA:9 a=QEXdDO2ut3YA:10 a=sRI3_1zDfAgwuvI8zelB:22 a=ul9cdbp4aOFLsgKbc677:22 Subject: Re: Cygwin mount option -s is not supported To: cygwin AT cygwin DOT com References: <4697a70efd18481fa378325d2136322c AT BELBRU-EXMP101 DOT eeas DOT europa DOT eu> <8f5d2511-c8a5-8a9e-3acc-d09da078fae1 AT gmail DOT com> From: Brian Inglis Organization: Systematic Software Message-ID: Date: Fri, 27 Nov 2020 16:15:41 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-CA X-CMAE-Envelope: MS4xfGp7zmZU/TJzoHMrzAxJUlRadM7dnb6/FUek8nqbna1NoiNVtC7Yj8ErAtwbejNWemz+yFfwqEY0oH6OigdaY2S8v5BebIC0uET0t0IZbLXyeuDVK/z+ lWhocZE/txgfzFpR3OQJNU+1tUbdWc5QaaXEmX8lupSSSTf7rpcv7sb/cx28KuwXO/1IERXH0Hg0m+WVUw5t0/Q37592C6c3N7A= X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, BODY_8BITS, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 0ARNGDQj029206 On 2020-11-26 04:12, KAVALAGIOS Panagiotis (EEAS-EXT) wrote: >> -----Original Message----- >> From: Cygwin 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 :/ >>>> in >>>>    # the path to/cygdrive// >> >> 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. If you have an Oracle support contract, please submit a TAR, and attach any patches you make, to upstream support, to avoid having to keep making changes every update. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.] -- 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