Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Message-ID: <00a801c01e93$d6fe7500$3327f0d8@lag.net> From: "Matt" To: Subject: weird mount/ls behaviour Date: Thu, 14 Sep 2000 14:36:27 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Environment: Tested with both 8/3/2000 and 9/14/2000 snapshots on NT 4.0 SP6a, fresh net install into C:\Cygwin. Steps to Repro: 1. Launch bash 2. 'mkdir /usr/src' 3. 'mount -b /cygdrive/d/src /usr/src' 4. 'ls /usr' (src directory appears) 5. 'ls -l /usr' (src directory disappears) 6. 'cd /usr/src' (gets "bash: cd: /usr/src: No such file or directory") 6. 'umount /usr/src' 7. 'mount -b d:/src /usr/src' 8. 'ls /usr/src', 'cd /usr/src', etc (everything works fine) result: mount never seems to return an error if it can't qualify the win32 path supplied. This can be shown by doing a "mount -b /cygdrive/d/dontexistever /usr/tmp" and seeing it succeed, and have an entry in the mount table. The weird thing is the ls behaviour -- "ls" shows the directory/mount, and "ls -l" does not. I can provide strace outputs for the "ls" commands. If this will help, let me know.