delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/30/03:01:13

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 30 Jan 2001 08:59:23 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: newbie Q: umount?
Message-ID: <20010130085923.A515@cygbert.vinschen.de>
Mail-Followup-To: cygwin <cygwin AT cygwin DOT com>
References: <E950EF47BA67A548A32EFCD0B90697E8301C61 AT za-exchange DOT za DOT mosaicsoftware DOT net>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <E950EF47BA67A548A32EFCD0B90697E8301C61@za-exchange.za.mosaicsoftware.net>; from Jean@mosaicsoftware.com on Tue, Jan 30, 2001 at 08:43:25AM +0200

On Tue, Jan 30, 2001 at 08:43:25AM +0200, Jean Jordaan wrote:
> So today I said
>   $ mount -s c:/ /c
> and got a message saying 'mount: warning - /c does not exist.'

If you would have created /c by `mkdir /c' _before_ creating the
mount you hadn't got that message. 

Short version:

	mkdir /foo; mount X:/bar /foo    (file completion works)
OR	mount -f ... /foo                (you don't care)

User mount:
	mount X:/bar /foo      <-->   umount /foo

System mount:
	mount -s X:/bar /foo   <-->   umount -s /foo

>   $ umount /c
> and
>   $ umount -s /c
> and get
>   umount: /c: No such file or directory

??? Sure? In both cases? The latter should work.

>   $ mkdir /c
>   mkdir: cannot make directory `/c': File exists

Sure. The mount point still exists here.

> Then I became reckless, and deleted the 
>   HKLM|Software|Cygnus Solutions|Cygwin|mounts v2|/c
> registry key, and quit and restarted bash. Now the registry key has
> gone, but the mount point remains! It seems I'm completely missing
> something basic. Could someone please put me on the right track?

Some other Cygwin process still running? Inetd? Sshd?
As long as any other Cygwin process is running (aka the Cygwin DLL
is still loaded) removing the registry keys doesn't help.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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