Mounting a network share

Andrey Repin anrdaemon@yandex.ru
Mon Nov 2 01:50:00 GMT 2015


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



More information about the Cygwin mailing list