public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: Mike Brown <brown@mrvideo.vidiot.com>, cygwin@cygwin.com
Subject: Re: Mounting a network share
Date: Mon, 02 Nov 2015 01:50:00 -0000	[thread overview]
Message-ID: <1046348344.20151102044033@yandex.ru> (raw)
In-Reply-To: <20151101210207.GA4736@mrvideo.vidiot.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

  reply	other threads:[~2015-11-02  1:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-01 21:02 Mike Brown
2015-11-02  1:50 ` Andrey Repin [this message]
2015-11-02  5:35   ` Mike Brown
2015-11-02 11:16     ` Corinna Vinschen
2015-11-02 16:18     ` Corinna Vinschen
2015-11-02 16:31       ` Roger Wells
2015-11-02 16:03   ` Mike Brown
2015-11-02 16:26     ` Corinna Vinschen
2015-11-02 18:06       ` Mike Brown
2015-11-02 19:50         ` Andrey Repin
2015-11-03 13:11         ` Corinna Vinschen
2015-11-02 23:37   ` Linda Walsh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1046348344.20151102044033@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=brown@mrvideo.vidiot.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).