delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/06/18/06:26:49

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=bF06dPk/DN5dFCvfCDnwpI4mT2oEqovjWX15o8bQuuEQTHFsDgGbF
AQuEFh5aS+7NMCgB1SWTX8zxtNxoeYQpAkRbUfyppN0ctVZJ9PDIqoxE83xpQ+OZ
QO4OGuibZ4jYNY8aycbHnBrpn6LlxiNbpWLpTRbjy9T69DT8uIzMYo=
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=Kzqx0t3SxfUmaRYto6TBN4FRVVA=; b=wBso0P0BpCvVxNTLvmUCp3SJv/bd
Fmq9kYUpTPApQQ8rJzG1S6ZBIt5L+culOJ3LVcicJjun5qSheh3Atm9KDZBZkOCH
bLvT5UNj8zwAV1KNEqR1hZ+gXtjbOtYRcq4diesnTzwLjYj7qFz9Pe0dgQZQIC7+
JJPsxl0Qz3MYNDw=
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.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1
Date: Tue, 18 Jun 2013 12:26:32 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: UNC and POSIX paths
Message-ID: <20130618102632.GC27405@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <003501ce6b5f$b41f2c10$1c5d8430$%fedin AT samsung DOT com> <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>
MIME-Version: 1.0
In-Reply-To: <048c01ce6be7$5aea3940$10beabc0$@malth.us>
User-Agent: Mutt/1.5.21 (2010-09-15)

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.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

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