delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/07/02:22:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Thu, 7 Oct 2004 16:22:30 +1000 (EST)
From: luke DOT kendall AT cisra DOT canon DOT com DOT au
Subject: Misleading warning from mount?
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-Id: <20041007062230.3D11284C4D@pessard.research.canon.com.au>

In the example below, mount tells me the directory doesn't exist, yet it
does.  I can "ls" it, and create files in it, and cat them.

I suspect the warning really means that "/" isn't mounted.

On a system without Cygwin installed:

    bash-2.05b$ mount
    c: on /cygdrive/c type user (textmode,noumount)
    l: on /cygdrive/l type user (textmode,noumount)
    m: on /cygdrive/m type user (textmode,noumount)
    u: on /cygdrive/u type user (textmode,noumount)
    x: on /cygdrive/x type user (textmode,noumount)
    bash-2.05b$ ls c:/temp/mnt/tmp
    a
    bash-2.05b$ mount c:/temp/mnt/tmp /tmp
    mount: warning - /tmp does not exist.
    bash-2.05b$ echo b > /tmp/b
    bash-2.05b$ ls /tmp
    a  b
    bash-2.05b$ ls c:/temp/mnt/tmp
    a  b
    bash-2.05b$ cat c:/temp/mnt/tmp/b
    b

I'm about to test that I can indeed ignore this warning as incorrect.
If I'm wrong, I'll post the results.

luke


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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