delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/11/01/20:50:35

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=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 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
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 AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1046348344.20151102044033@yandex.ru>
To: Mike Brown <brown AT mrvideo DOT vidiot DOT com>, cygwin AT cygwin DOT com
Subject: Re: Mounting a network share
In-Reply-To: <20151101210207.GA4736@mrvideo.vidiot.com>
References: <20151101210207 DOT GA4736 AT mrvideo DOT vidiot DOT com>
MIME-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019