X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=eL/7/evZXf+yGWry VVuOhSWqWeHcktMwFK12hXxzxyQzr1A9lpvSjG7kjlbj0nBdXIfTGUAhXcGbzuO+ 2pj3ucI/AcT/ITsQVB0mp+xbpjTaDyIpyN/4ZV4kF359LPYTPsIhQi5IrljGmCy0 PdjMaGAkyQBKNCTwLWgHU4FE3DI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=GmdWNgfwV0nqBymY/9sh7y G+2JI=; b=Yvux5nkMXM/rniBWQtFORvglWpFlMWSSOM0RtR0sMVHcHKKyJqgiT/ DfbWOrv+YQ5hOHK32Hfcfmx/izGV0SlYIiwDLpCrxc/uirVEiUAvpBM3RNitbvBz sUfKETjuidQ4231c6FJmeS2kuR4TEZNt0qHAeiHR2Dg413X4nyJ1E= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtpback.ht-systems.ru Date: Fri, 24 Jan 2014 15:10:41 +0400 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <461321165.20140124151041@mtu-net.ru> To: Damian Harty , cygwin AT cygwin DOT com Subject: Re: Windows 7 64 Bit - Mounting Network Drives In-Reply-To: <5d086b5de9f248deae22fa7a6f8d7cc2@BL2PR02MB449.namprd02.prod.outlook.com> References: <5d086b5de9f248deae22fa7a6f8d7cc2 AT BL2PR02MB449 DOT namprd02 DOT prod DOT outlook DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 AT yandex DOT 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