This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Misleading warning from mount?


On Thu, Oct 07, 2004 at 04:22:30PM +1000, luke.kendall@cisra.canon.com.au wrote:
>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.

No.  As far as cygwin is concerned there is no such thing as '/tmp'.

>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

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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]