Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 02:27:53 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Misleading warning from mount? Message-ID: <20041007062753.GB7398@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20041007062230 DOT 3D11284C4D AT pessard DOT research DOT canon DOT com DOT au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041007062230.3D11284C4D@pessard.research.canon.com.au> User-Agent: Mutt/1.4.1i On Thu, Oct 07, 2004 at 04:22:30PM +1000, luke DOT kendall AT cisra DOT canon DOT com DOT 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/