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:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=KtmSrLcYvL8xQIS+
	kHDi12ZSrs/Z5EYK9/d6sN104pV+sUsPXIPzFZm3i8kimqH5jNYRRHr7pvUWYAdN
	cQcMp5Eb9AWnPF2dREfrkh+zjsNIVHPiIVw0oBY8vnZ/0yMWHqdK9TjOQZily9ku
	P3Kxhf9IZvQZpejkFb1rFTnB21k=
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=JjHq3UX69JzTS0iOFGIAFB
	KT4is=; b=GR7maqnR+iahVKcqLPdT38l2qd0ioOLSDP97q8RjyK8HcvT4mO2Bb/
	7w1hgW/pR22qqMhynfDnPKfCsQ0AffQIPBzD9SqmE/Y7EYTk701J7ZEXWwbn7FJg
	e1Vk+jLNslqy2IctMsbO24C8A4oKeI5qDhkC4MUFXQr04+5iqZ+Yw=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=4.7 required=5.0 tests=AWL,BAYES_80,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Mon, 2 Nov 2015 04:40:33 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <1046348344.20151102044033@yandex.ru>
To: Mike Brown <brown@mrvideo.vidiot.com>, cygwin@cygwin.com
Subject: Re: Mounting a network share
In-Reply-To: <20151101210207.GA4736@mrvideo.vidiot.com>
References: <20151101210207.GA4736@mrvideo.vidiot.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Mike Brown!

> I'm remotely loggin in to my P box and would lke to mount one of the NAS
> Samba shares.  M$ likes to unmount the share after a period of time,
> but because it was mounted, the pasword is needed (I hope).

> When I try the following:

>     mount \\192.168.1.40\Public /cygdrive/p

> I get an invalid option.

> Can I do this and if so, what do I need to change to get it to work.

net use //host/resource[/path] P: * /PERSISTENT /SAVECRED

P.S.
This is not a Cygwin question.
If you want to do it from Cygwin side, use fstab and don't use /cygdrive
prefix. It is for automatic mounts ONLY.


-- 
With best regards,
Andrey Repin
Monday, November 2, 2015 04:37:59

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

