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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=ZmiXij0oF7eMhKyv +u2sPIZyTj/ilENZoazTtS/w/WxeRRTdrBqsNhrJzQ9L9HyWG6v1VL1ltyZZwlRB l2vkE2g1BjghDhXL8X0xmdhXciMqp6DBKLNJODYclSgw7Q+vDiWQ+GN8XXPUK721 ijSW8Oqy8xBJGCGW+X4ZQfV8nPY= 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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=W9mI4RjEFsgMiInIecgv8a QgZe4=; b=J3EubN+fFTTCokc+2v8n1om//DgVtvnsGm0srFDw73B0FA2v1aNf4E phLQ9CYmb2+CpEwXStKpxMOaVoUO0nK5jgwiEmW+CjCBGvf/citoaD4ghJWXqFFg t2uBGOq45l/pRYBaQ7g07IHaWwLehyYKcmnpn9xxsB9gNKSTcn0qo= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: Yes, score=5.2 required=5.0 tests=AWL,BAYES_95,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtp.ht-systems.ru Date: Mon, 2 Nov 2015 22:43:46 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <393296213.20151102224346@yandex.ru> To: Mike Brown , cygwin AT cygwin DOT com Subject: Re: Mounting a network share In-Reply-To: <20151102180623.GA13339@mrvideo.vidiot.com> References: <20151101210207 DOT GA4736 AT mrvideo DOT vidiot DOT com> <1046348344 DOT 20151102044033 AT yandex DOT ru> <20151102160343 DOT GC12487 AT mrvideo DOT vidiot DOT com> <20151102162651 DOT GB9730 AT calimero DOT vinschen DOT de> <20151102180623 DOT GA13339 AT mrvideo DOT vidiot DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Mike Brown! >> > > If you want to do it from Cygwin side, use fstab and don't use /cygdrive >> > > prefix. It is for automatic mounts ONLY. >> > >> > I went and found the Cygwin web page that describes fstab. What it doesn't >> > say is how to use it. >> >> It does: https://cygwin.com/cygwin-ug-net/using.html#mount-table > What I mean is that I was able to create an entry, but I have no idea how to > get the mount program to read the contents. Cygwin's fstab only accepts 'bind mounts' (in *NIX terms). The article Corinna mentioned clearly explains that. Another difference from *NIX is that it is read and interpreted by Cygwin core (cygwin1.dll) when a new process tree starts. >> > I have the following entry: >> > >> > 192.168.1.40:/Public /Public nfs noacl 0 0 >> ^^^^^^^^^^^^^^^^^^^^ >> >> This syntax isn't known in Windows. Use the same syntax as with SMB >> shares, just use forward slashes: >> >> //192.168.1.40/Public /Public foo binary 0 0 >> >> "noacl" has no meaning on NFS shares, btw. > No there no explantion on how to enter a user and password. Because there's no such place. The resource must be available to the user. Before we continue this discussion, I suggest to re-read the two paragraphs on the cygwin.com main page. What Cygwin is and it is not. You expect kernel OS functionality from a userland application. That's not how Cygwin works. Cygwin leverages the operating system functionality to create a level field for porting applications to Windows. And to your 'net use' issues, 'net help use' should have been your first stop. Yes, you can just call 'net use ' without specifying the name to simply authenticate yourself with the resource. Mind you, specifying a password in command line is always a bad idea. You never know, where that password would be stored or displayed in between terminal and the called application. -- With best regards, Andrey Repin Monday, November 2, 2015 22:33:09 Sorry for my terrible english... -- 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