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

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:57:59 +1000 (EST)
From: luke DOT kendall AT cisra DOT canon DOT com DOT au
Subject: Re: Misleading warning from mount?
To: cygwin AT cygwin DOT com
In-Reply-To: <20041007062753.GB7398@trixie.casa.cgf.cx>
MIME-Version: 1.0
Message-Id: <20041007065800.2F0BF84C4D@pessard.research.canon.com.au>

On  7 Oct, Christopher Faylor wrote:
>  You did everything but the one thing that would prove that the warning 
>  message is correct: 
>   
>      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 /tmp 
>      ls: /tmp: No such file or directory 
>   
>  Use the -f option if this message bothers you. 
>   
>  cgf 

Okay, I'll do that, thanks.  I don't understand what you mean about
doing everything but the one thing that would prove that the warning 
message is correct.  Do you mean mount itself?  If I actually try that,
it seems to confirm that the message is *incorrect*:

    bash-2.05b$ mount
    c:\temp\mnt\tmp on /tmp type system (binmode)
    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$ umount /tmp
    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$ mount c:/temp/mnt/tmp /tmp
    mount: warning - /tmp does not exist.
    bash-2.05b$ mount
    c:\temp\mnt\tmp on /tmp type system (binmode)
    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 /tmp
    a  b
    bash-2.05b$ echo c > /tmp/c
    bash-2.05b$ cat /tmp/c
    c
    bash-2.05b$ ls c:/temp/mnt/tmp
    a  b  c

Maybe I still misunderstand.  In what sense does /tmp not exist?

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