public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: Damian Harty <Damian.Harty@polaris.com>, cygwin@cygwin.com
Subject: Re: Windows 7 64 Bit - Mounting Network Drives
Date: Fri, 24 Jan 2014 11:20:00 -0000	[thread overview]
Message-ID: <461321165.20140124151041@mtu-net.ru> (raw)
In-Reply-To: <5d086b5de9f248deae22fa7a6f8d7cc2@BL2PR02MB449.namprd02.prod.outlook.com>

Greetings, Damian Harty!

> I've just realised that in my new place of employment, my Windows 7 64 Bit
> laptop isn't seeing the network drives under cygwin the way it used to "by
> magic" in my old place of employment.

> I can mount them using, amazingly, the mount command - or make this
> "permanent" in the /etc/fstab file: 

>     H:   /cygdrive/h ntfs binary 0 0
>     Z:   /cygdrive/z ntfs binary 0 0

> I can test that it works:

>     % mount
>     C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
>     C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
>     C:/cygwin on / type ntfs (binary,auto)
>     H: on /cygdrive/h type unknown (binary)
>     Z: on /cygdrive/z type unknown (binary)
>     C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)

> ...which is lovely, except that it doesn't work as advertised:

>     % cd /cygdrive
>     % ls
>     c

>     %

> Q1: Is there something else I need to do after mounting it?

No.

> Q2: Why doesn't it automatically mount the network drives?

It does.

$ ls -ld /?/*
ls: cannot access /?/*: No such file or directory

$ ls -ld /a/*
drwxr-xr-x 1 AnrDaemon ---------      0 Jun 26  2012 /a/Android
drwxr-xr-x 1 AnrDaemon ---------      0 Nov  5 10:58 /a/Info&Txt
drwxr-xr-x 1 AnrDaemon ---------      0 Jun 12  2012 /a/Mac
drwxr-xr-x 1 AnrDaemon ---------      0 Sep  2  2009 /a/Story

$ ls -ld /z/*
drwxr-xr-x 1 AnrDaemon ---------          0 Nov  7 00:16 /z/bin
-rw-r--r-- 1 AnrDaemon ---------       2390 May 30  2012 /z/ca.cer
drwxr-xr-x 1 AnrDaemon ---------          0 Feb 28  2011 /z/crontabs

A: and Z: are network drives, indeed.
The "C" in your /cygdrive/ (and the /cygdrive itself) are just folders you
created for some random reason.
They shouldn't be there.

> I looked at the FAQs and googled and googled, all I got were repated
> descriptions of the mount command, having read all of them I am still
> missing something.

> Thanks in advance,

> Damian
> CONFIDENTIAL: The information contained in this email communication is

Please remove this crap from list mails, thank you.


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 24.01.2014, <15:02>

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:[~2014-01-24 11:20 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-24  9:53 Damian Harty
2014-01-24 11:20 ` Andrey Repin [this message]
2014-01-24 11:31   ` Damian Harty
2014-01-24 12:35     ` Andrey Repin
2014-01-24 13:31       ` Damian Harty
2014-01-26  6:20         ` Andrey Repin
2014-01-24 16:28     ` Christopher Faylor
2014-01-24 16:29     ` Larry Hall (Cygwin)
2014-01-24 12:53   ` Frank Redeker
2014-01-26  6:35     ` Andrey Repin
2014-01-24 13:45 ` Corinna Vinschen
2014-01-24 14:00   ` Damian Harty
2014-01-24 14:51     ` Damian Harty
2014-01-24 14:52     ` tednolan
2014-01-24 15:10       ` Damian Harty
2014-01-24 15:49         ` Corinna Vinschen
2014-01-24 15:58           ` Damian Harty
2014-01-24 17:53             ` Alexander Kriegisch
2014-01-24 19:32             ` Corinna Vinschen
2014-01-24 16:42   ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2014-01-24 17:30 Damian Harty
2014-01-24 19:14 ` Christopher Faylor
2014-01-24 19:32 ` Larry Hall (Cygwin)

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=461321165.20140124151041@mtu-net.ru \
    --to=anrdaemon@yandex.ru \
    --cc=Damian.Harty@polaris.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).