delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/06/17/10:52:34

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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=eU
dfLwzAAc6UQqGn4pELdSTjnICtCjOvCWiwa3TxeTiFKxKc3Tj6AxsM3NMWKXtQEC
8XW/ZTPDJvZRo0cg+64xFzxqVVvg5aduxjjHWzbHE4KmvHR213IYUMtOy/ue0HGF
68BTCxMCjCih0Bw5xgNnpKauZ775e4cjf9+c+6gQ4=
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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=UYUKWf4F
eTaDLaKvf9g8DbLd+d4=; b=YwtXEghAt4ZhGpnNvOhCeN/yIRp6JM3StZYY8TmG
CQAWq7Gf1JwZah+DQ8G/5DtX123lMfLmj0fq4SuJHeS1cvat4JanpI9MhBPXO7K4
YK6/PX0XDcgNqfwsEmbxnr0ixNqeTUPaxBNCk/Jjj6cXQdH8YQoAUUckP/OpA1uv
wx0=
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
X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS,TBC autolearn=no version=3.3.1
MIME-Version: 1.0
X-Received: by 10.152.9.69 with SMTP id x5mr6849836laa.57.1371480736132; Mon, 17 Jun 2013 07:52:16 -0700 (PDT)
In-Reply-To: <003501ce6b5f$b41f2c10$1c5d8430$%fedin@samsung.com>
References: <003501ce6b5f$b41f2c10$1c5d8430$%fedin AT samsung DOT com>
Date: Mon, 17 Jun 2013 07:52:16 -0700
Message-ID: <CAPF-yOZO7hsBB0riB6P1JqvFhCfH1_W0iGQF-d-brtkm=3YT9g@mail.gmail.com>
Subject: Re: UNC and POSIX paths
From: Dan Kegel <dank AT kegel DOT com>
To: cygwin AT cygwin DOT com

On Mon, Jun 17, 2013 at 6:36 AM, Fedin Pavel wrote:
>  I decided to pay attention to one more problem. Lots of not very well
> written configure scripts and makefiles like to access things like
> '//usr/bin'. Under Cygwin this causes problem because Cygwin treats '//' in
> Windows-style as access to network shares.
>  What if we change this ? We could have a mount entry, something like '/unc'
> (or /smb, /net, whatever) and access it like '/smb/computername/sharename'.
> I think this would improve POSIX compatibility a lot.

It'd be interesting to find out how many such scripts there are.
Have you tried looking for them, e.g. by hooking open()
( http://stackoverflow.com/questions/880263/how-can-i-detect-file-accesses-in-linux
)
and logging them while doing something big (like rebuilding a linux distro,
or building all your company's linux software)?
- Dan

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

- Raw text -


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