delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/03/00:58:52

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
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Sun, 3 Sep 2000 00:57:49 -0400
To: cygwin AT sources DOT redhat DOT com
Subject: Re: Can't remove erroneous mount...
Message-ID: <20000903005749.A15873@cygnus.com>
Reply-To: cygwin AT sources DOT redhat DOT com
Mail-Followup-To: cygwin AT sources DOT redhat DOT com
References: <3949B0BC DOT 764EA6D3 AT rocketmail DOT com> <LNBBKMIKMNGEJNEJICPHAEJOEEAA DOT stanton AT haas DOT berkeley DOT edu>
Mime-Version: 1.0
User-Agent: Mutt/1.3.6i
In-Reply-To: <LNBBKMIKMNGEJNEJICPHAEJOEEAA.stanton@haas.berkeley.edu>; from stanton@haas.berkeley.edu on Sat, Sep 02, 2000 at 09:54:35PM -0700

On Sat, Sep 02, 2000 at 09:54:35PM -0700, Richard Stanton wrote:
>By accident, I just ran the command
>
>  mount -s -f -b / c:
>
>(I got the two arguments reversed).
>
>Unfortunately, there is no way to unmount this now I've created it. For
>example,
>
>c:\>umount --remove-system-mounts
>umount: c:: Invalid argument
>
>c:\>umount c:
>umount: c:: Invalid argument
>
>c:\>mount
>Device              Directory           Type         Flags
>c:\usr\local        /usr/local          user         binmode
>\\.\tape0:          /dev/st0            user         textmode
>\\.\tape1:          /dev/st1            user         textmode
>\\.\a:              /dev/fd0            user         textmode
>\\.\b:              /dev/fd1            user         textmode
>\                   c:                  system       binmode
>
>How can I get rid of the last mount listed?

umount -s \

or

umount -s \\

if you are running from bash.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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