delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/19/05:49:32

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 19 Oct 2009 11:49:10 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [1.7] windows 7 with networked drives - ls failure and mount -c does not stick...
Message-ID: <20091019094910.GB3986@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <812f5f0a0910152200g4ba4c762r84f214cb70c2a78b AT mail DOT gmail DOT com> <20091016080758 DOT GP27964 AT calimero DOT vinschen DOT de> <4ad91f2d DOT 1708c00a DOT 49f1 DOT 49d9 AT mx DOT google DOT com>
MIME-Version: 1.0
In-Reply-To: <4ad91f2d.1708c00a.49f1.49d9@mx.google.com>
User-Agent: Mutt/1.5.17 (2007-11-01)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Oct 16 20:34, Paul J. Ghosh wrote:
> My mistake.  I read through the documents - thanks!
> 
> So, without any entries in /etc/fstab and with no modifications done via
> mount is 'ls' supposed to work on a networked drive?  I am finding that it
> gives an error.  What am I doing wrong?  Both B: and N: are networked
> drives.  I can change directories but not list their contents.  Output of
> cygcheck, mount, and contents of /etc/fstab included.  See attached file and
> below:
> 
> paul DOT j DOT ghosh AT VGNZ790DKX ~
> $ 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)
> B: on /cygdrive/b type smbfs (binary,posix=0,user,noumount,auto)
> C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
> N: on /cygdrive/n type smbfs (binary,posix=0,user,noumount,auto)
> 
> paul DOT j DOT ghosh AT VGNZ790DKX ~
> $ cd /cygdrive/b
> 
> paul DOT j DOT ghosh AT VGNZ790DKX /cygdrive/b
> $ ls
> ls: reading directory .: Function not implemented

I still can't reproduce this.  Accessing a Samba share works fine for
me.  Can you please run

  $ /usr/lib/csih/getVolInfo /cygdrive/b

  $ /usr/lib/csih/getVolInfo /cygdrive/n

and send us the output of these two commands.  If you can't find that
executable, install the csih package and try again.

Additionally, please run this:

  $ strace -o ls.trace ls /cygdrive/b

If `ls /cygdrive/b' works fine for some reason, try this:

  $ cd /cygdrive/b
  $ strace -o C:/ls.trace ls

Either way, please send the ls.trace file, which got created by
strace as attachment to your reply.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019