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=okgpKX54oVO5UH5Wn4PJTr/cGEIBFmMwcpUq1QVw9kdh+DUEPsgPX ve3vOJBFo68ivOVraNIxO1th/ozkNXahufViXsibiIAg2t6xKZZq+/jDJfThTcDa GruEshQZYB/+aBBzn0fC4pZhaG0H7vRBGhmyEQnm2bdm7J75yB5X7Y= 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=he828Ct70k1nESh1D8raFK9M2pg=; b=jJ+ROD5u/PSYYZTImZO6Nr0VV5jx grdJPbFT95DRkxUk9DJLtgh+DoZGs/gR03Hi7Nyal9pe5v/kYGSVKWI/v3GZxrSV vaMv8uox0jabNrZ+njlJQBBHPmTevCXLtLdoVCjAYoZ90Cv+TxuAupqIJDc49TvQ m2IZ4nb3OVx17gk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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: Thu, 4 Jul 2013 10:58:47 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: MSYS mode (continue) Message-ID: <20130704085847.GK5118@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20130703181504 DOT GA3182 AT ednor DOT casa DOT cgf DOT cx> <20130703195020 DOT GC1705 AT calimero DOT vinschen DOT de> <51D49188 DOT 7000708 AT cwilson DOT fastmail DOT fm> <20130703215716 DOT GA1752 AT ednor DOT casa DOT cgf DOT cx> <51D4A7F4 DOT 80507 AT cwilson DOT fastmail DOT fm> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Hi Alexey, On Jul 4 06:33, Alexey Pavlov wrote: > My opinion is to extend Cygwin parser to read msys-like mounts. It's > very simple: > > --- mount.cc 2013-04-24 20:29:29.000000000 +0400 > +++ Cygwin/winsup/cygwin/mount.cc 2013-06-13 09:35:01.479492100 +0400 > @@ -1125,8 +1118,17 @@ > if (!*c) > return true; > cend = find_ws (c); > - *cend = '\0'; > posix_path = conv_fstab_spaces (c); > + if (!*cend) > + { > + unsigned mount_flags = MOUNT_SYSTEM | MOUNT_BINARY | > MOUNT_NOPOSIX | MOUNT_NOACL; > + > + int res = mount_table->add_item (native_path, posix_path, mount_flags); > + if (res && get_errno () == EMFILE) > + return false; > + return true; > + } > + *cend = '\0'; > /* Third field: FS type. */ > c = skip_ws (cend + 1); > if (!*c) This patch is trivial enough to go in (barring discussion) without copyright assignment. Still, the CA is necessary for more complex patches. Would you mind to send a CA (http://cygwin.com/assign.txt) per snail mail to the address given in the form? Apart from that, please provide a ChangeLog entry. Please read http://cygwin.com/contrib.html, especially the last section called "When you have finalized your changes". Thanks, 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