delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/06/18/10:37:04

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=BHhR7aBpRjXRa0aWvRg20Rn6XGyns3urdqGKQcKBOd1D9TsJkj7nV
Zm/Bar2UFZ6Lr5nZbIZF7BFSVvel9u2DqMbZe6yygKbuIIQwKbqgKrdS8nWrDjGn
RPw+tVOiOX8N0AN8DXQGCfSMTgurh88uJ0h1ClcgOzp3bHtGczZaYI=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=YSVE6z7YXPGQ3LRBUnbDSu115lo=; b=hYHfbf2fpb4gA5aLBI33pNgGRp+6
MVaZI2Q1HHEOJGvHpe6ul6oKKWex2s1NP/3FQhxj7aHVjJMIVQVl8vogXWZU/wbF
bLA2a6lRyr+M7y4hkQgZsASEL7MP7e8sdDuFV8+eul9Q5MSwf5b2Ju67jgNy5sVR
V7DK6JKgj4Xc0EM=
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=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1+kVUcCrX8FPh2o5I4njAHE
Date: Tue, 18 Jun 2013 10:36:44 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: UNC and POSIX paths
Message-ID: <20130618143644.GC5406@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <kpn4kk$p88$1 AT ger DOT gmane DOT org> <036c01ce6b6d$0ada5090$208ef1b0$@malth.us> <kpnfp7$urd$1 AT ger DOT gmane DOT org> <03b201ce6b83$c5b62720$51227560$@malth.us> <51BF534E DOT 2030200 AT cygwin DOT com> <044001ce6bca$16c79ef0$4456dcd0$@malth.us> <20130618044230 DOT GA6062 AT ednor DOT casa DOT cgf DOT cx> <048c01ce6be7$5aea3940$10beabc0$@malth.us> <20130618102632 DOT GC27405 AT calimero DOT vinschen DOT de> <20130618143009 DOT GA5406 AT ednor DOT casa DOT cgf DOT cx>
MIME-Version: 1.0
In-Reply-To: <20130618143009.GA5406@ednor.casa.cgf.cx>
User-Agent: Mutt/1.5.20 (2009-06-14)

On Tue, Jun 18, 2013 at 10:30:09AM -0400, Christopher Faylor wrote:
>On Tue, Jun 18, 2013 at 12:26:32PM +0200, Corinna Vinschen wrote:
>>On Jun 17 22:47, gmt AT malth DOT us wrote:
>>> On Mon, 17 Jun 2013, at 21:42, Christopher Faylor thusly quipped:
>>> 
>>> > On Mon, Jun 17, 2013 at 07:18:12PM -0700, gmt AT malth DOT us wrote:
>>> >> BTW, along the same lines, I stated previously it would break
>>> >> http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=m4/doub
>>> >> le-sl ash-root.m4.  Turns out I was wrong, the m4 has a hard-coded list
>>> >> of platforms.  So, I have to say, I can't think of one technical or
>>> >> merit-based reason this shouldn't be done, aside from the fact that
>>> >> it's annoying to hear it endlessly brought up on the mailing list (a
>>> >> problem which an implementation would, in fact, solve, not exacerbate).
>>> > 
>>> > I can't quite follow the logic here but if you're saying that if we no
>>> longer
>>> > treated // as /, people who want to use //usr/local/bin would not
>>> complain,
>>> > you're right.  That doesn't mean that a whole new class of complainer
>>> would not
>>> > show up, however.
>>> > 
>>> > I can say with absolute certainty that there is one person who would
>>> complain.
>>> 
>>> I was imagining a less intrusive hypothetical approach.
>>> 
>>> For example, perhaps a CYGWIN=nounc flag that would simply turn the feature
>>> off, or a way to deactivate in fstab -- in short, anything reversible, and,
>>> by default, preserving the existing behavior.  Prune-grafting "//" to "/smb"
>>> might have been a good idea had it been done at cygwin's inception, but I
>>> think it's probably too late now.
>>
>>A mount table approach along the lines of the cygdrive prefix handling
>>might not be such a bad thing, after all.  Something along these lines
>>
>>  none /mnt cygdrive binary,posix=0,user 0 0
>>  none /unc uncdrive binary,posix=0 0 0
>>
>>This would also fix the somewhat special feature that unc paths get the
>>same default flag treatment as cygdrive paths.
>
>That's what I was proposing earlier in the thread.  It's a SHTDI
>proposal, of course.

And, it nontrivially complicates path handling since we'd have to make
decisions about whether to honor // or not.

If we do consider this, I think we should take a step back and think
about revamping path handling to allow hooks for things like /dev,
/proc, /cygdrive rather than having to special case them.

cgf

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