delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/09/14/17:17:33

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <matt AT use DOT net>
To: <cygwin-developers AT sources DOT redhat DOT com>
Subject: weird mount/ls behaviour
Date: Thu, 14 Sep 2000 14:36:27 -0700
MIME-Version: 1.0
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.

- Raw text -


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