This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Mounting a network share
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Mike Brown <brown at mrvideo dot vidiot dot com>, cygwin at cygwin dot com
- Date: Mon, 2 Nov 2015 04:40:33 +0300
- Subject: Re: Mounting a network share
- Authentication-results: sourceware.org; auth=none
- References: <20151101210207 dot GA4736 at mrvideo dot vidiot dot com>
- Reply-to: cygwin at cygwin dot com
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