X-Recipient: archive-cygwin@delorie.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=NMx/07n2iVlfKfclhD9smhOfNh1L/S9bT0E1/RC/1v6n/vB95ooOi
	Vbq3RnAkyUWGJmDuvcOCr9COz2SRJ89s2kVugdQbA/MD1pU/nZWApHdmbSmu+gPa
	HoSqvAMCXbbI2UAGtKHREoeQ4u7qeMvh817ud9eoN3te4xwDQcg/Eo=
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=CSTNGVblJipqk84cL4H4qlJksjg=; b=dbQr9tSvxb9ybdWWWXWWY3Q8Rn5z
	05192faXikuZY9TeXomRAWqNkwA/KNmpnJQSDOr+aNJerPRoC07kw+EVG8UdoQgU
	vcNt9RT68qi59BUhXP/07AvF6miBUXq0oLbgpZDUTeLJVP4nbLzQn2Op+gjz8NTZ
	mro2Smx2fDXQOFA=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1
Date: Thu, 4 Jul 2013 10:38:48 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: MSYS mode (continue)
Message-ID: <20130704083848.GJ5118@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <CABEPuQ+jEFJEQt=MGyn5m7Q+Ccs5A-i7vkk0McM=yyoCOw+Kgw@mail.gmail.com> <20130703181504.GA3182@ednor.casa.cgf.cx> <CABEPuQLW+TQ5VUVSYrCOzQ4Y5fdHNp=ymcb9r+xV7ROyYS=OBA@mail.gmail.com> <20130703195020.GC1705@calimero.vinschen.de> <51D49188.7000708@cwilson.fastmail.fm> <20130703215716.GA1752@ednor.casa.cgf.cx>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20130703215716.GA1752@ednor.casa.cgf.cx>
User-Agent: Mutt/1.5.21 (2010-09-15)

On Jul  3 17:57, Christopher Faylor wrote:
> On Wed, Jul 03, 2013 at 05:03:04PM -0400, Charles Wilson wrote:
> >On 7/3/2013 3:50 PM, Corinna Vinschen wrote:
> >> On Jul  3 22:24, Alexey Pavlov wrote:
> >>> 2013/7/3 Christopher Faylor:
> >>> I need it to be able read short mount points from fstab: <win32_path>
> >>> <posix_path>.
> >>> All other options are set by default. With my changes I can have in
> >>> /etc/fstab both types of mount points - cygwin-like and msys-like.
> >>
> >> And why is that necessary?  There are always default options set anyway,
> >> but a layout change of the fstab file simply makes no sense.  There's no
> >> win at all.
> >
> >I think Alexey is trying to replicate MSYS's behavior, so it becomes 
> >more of a drop-in replacement.  Here's my MSYS /etc/fstab (MSYS doesn't 
> >yet support per-user fstab.d/username settings):
> >
> >C:/MinGW               /mingw
> >C:/Users/me/Desktop    /desktop
> >C:/Users/me/Documents  /docs
> >C:/msys-src            /usr/src
> 
> I think Cygwin fstab parsing could be loosened up to allow that syntax.

I didn't realize there's a backward compatibility problem.  Well, if you
think that's ok, we can take Alexey's patch and add a few words to the
docs about the simplified fstab syntax and the default option settings.
Fortunately it weould work independently of the environment, Cygwin or
MSYS2.  The patch is trivial enough to go in w/o CA, too.

> >Your MSYS-like cygwin installation would have its own /etc/fstab (in 
> >regular cygwin format), but perhaps your /home area is mapped 
> >differently in that fstab, than in the /etc/fstab in your "regular" 
> >cygwin installation.  Or, like me, I have a separate msys-src and 
> >cygwin-src directory mapped onto MSYS's /usr/src and cygwin's /usr/src, 
> >respectively.
> >
> >Or is the proposal on the table for the same installation to be usable 
> >in both modes, depending on the nature of the launched application?
> 
> That's an interesting idea but I don't think anyone was proposing that.

Any suggestion how this could work?


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

