Re: Mounting a network share

2015-11-03 Thread Corinna Vinschen
On Nov 2 12:06, Mike Brown wrote: > On Mon, Nov 02, 2015 at 05:26:51PM +0100, Corinna Vinschen wrote: > > On Nov 2 10:03, Mike Brown wrote: > > > On Mon, Nov 02, 2015 at 04:40:33AM +0300, Andrey Repin wrote: > > > > If you want to do it from Cygwin side, use fstab and don't use /cygdrive > > > >

Re: Mounting a network share

2015-11-02 Thread Linda Walsh
Andrey Repin wrote: 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.16

Re: Mounting a network share

2015-11-02 Thread Andrey Repin
Greetings, Mike Brown! >> > > If you want to do it from Cygwin side, use fstab and don't use /cygdrive >> > > prefix. It is for automatic mounts ONLY. >> > >> > I went and found the Cygwin web page that describes fstab. What it doesn't >> > say is how to use it. >> >> It does: https://cygwin.co

Re: Mounting a network share

2015-11-02 Thread Mike Brown
On Mon, Nov 02, 2015 at 05:26:51PM +0100, Corinna Vinschen wrote: > On Nov 2 10:03, Mike Brown wrote: > > On Mon, Nov 02, 2015 at 04:40:33AM +0300, Andrey Repin wrote: > > > If you want to do it from Cygwin side, use fstab and don't use /cygdrive > > > prefix. It is for automatic mounts ONLY. > >

Re: Mounting a network share

2015-11-02 Thread Roger Wells
On 11/02/2015 11:18 AM, Corinna Vinschen wrote: > On Nov 1 23:35, Mike Brown wrote: >> On Mon, Nov 02, 2015 at 04:40:33AM +0300, Andrey Repin wrote: >>> net use //host/resource[/path] P: * /PERSISTENT /SAVECRED >> >> I got the following to be accepted: >> >> net use \\192.168.1.40\Public password

Re: Mounting a network share

2015-11-02 Thread Corinna Vinschen
On Nov 2 10:03, Mike Brown wrote: > On Mon, Nov 02, 2015 at 04:40:33AM +0300, Andrey Repin wrote: > > If you want to do it from Cygwin side, use fstab and don't use /cygdrive > > prefix. It is for automatic mounts ONLY. > > I went and found the Cygwin web page that describes fstab. What it doesn

Re: Mounting a network share

2015-11-02 Thread Corinna Vinschen
On Nov 1 23:35, Mike Brown wrote: > On Mon, Nov 02, 2015 at 04:40:33AM +0300, Andrey Repin wrote: > > net use //host/resource[/path] P: * /PERSISTENT /SAVECRED > > I got the following to be accepted: > > net use \\192.168.1.40\Public password /user:brown /persistant:yes > > The syntax doesn't h

Re: Mounting a network share

2015-11-02 Thread Mike Brown
On Mon, Nov 02, 2015 at 04:40:33AM +0300, Andrey Repin wrote: > If you want to do it from Cygwin side, use fstab and don't use /cygdrive > prefix. It is for automatic mounts ONLY. I went and found the Cygwin web page that describes fstab. What it doesn't say is how to use it. I have the followin

Re: Mounting a network share

2015-11-02 Thread Corinna Vinschen
On Nov 1 23:35, Mike Brown wrote: > On Mon, Nov 02, 2015 at 04:40:33AM +0300, Andrey Repin wrote: > > net use //host/resource[/path] P: * /PERSISTENT /SAVECRED > > I got the following to be accepted: > > net use \\192.168.1.40\Public password /user:brown /persistant:yes > > The syntax doesn't h

Re: Mounting a network share

2015-11-01 Thread Mike Brown
On Mon, Nov 02, 2015 at 04:40:33AM +0300, Andrey Repin wrote: > net use //host/resource[/path] P: * /PERSISTENT /SAVECRED I got the following to be accepted: net use \\192.168.1.40\Public password /user:brown /persistant:yes The syntax doesn't have a place to where it should be mounted. But, if

Re: Mounting a network share

2015-11-01 Thread Andrey Repin
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 /cy