From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.137]) by sourceware.org (Postfix) with ESMTPS id D9E983857C5C for ; Fri, 27 Nov 2020 23:15:43 +0000 (GMT) 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.inglis@systematicsw.ab.ca Received: from [192.168.1.104] ([24.64.172.44]) by shaw.ca with ESMTP id imxpk9a4JktFkimxqkjAzd; Fri, 27 Nov 2020 16:15:42 -0700 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 Reply-To: cygwin@cygwin.com Subject: Re: Cygwin mount option -s is not supported To: cygwin@cygwin.com References: <4697a70efd18481fa378325d2136322c@BELBRU-EXMP101.eeas.europa.eu> <8f5d2511-c8a5-8a9e-3acc-d09da078fae1@gmail.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-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-CA Content-Transfer-Encoding: 8bit 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@cygwin.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: , X-List-Received-Date: Fri, 27 Nov 2020 23:15:45 -0000 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.]