This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Mounting a network share


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]