delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/03/01/14:03:05

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Wed, 1 Mar 2000 14:02:33 -0500
To: "Parker, Ron" <rdparker AT butlermfg DOT org>
Cc: "'cygwin-developers AT sourceware DOT cygnus DOT com'" <cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: Re: Setup over a previous installation
Message-ID: <20000301140233.B8271@cygnus.com>
Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com
References: <200003011857 DOT KAA08874 AT cygnus DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.1.4i
In-Reply-To: <200003011857.KAA08874@cygnus.com>; from rdparker@butlermfg.org on Wed, Mar 01, 2000 at 12:54:09PM -0600

On Wed, Mar 01, 2000 at 12:54:09PM -0600, Parker, Ron wrote:
>My other concern is that the umount-mount sequence for changing the root
>directory only works from bash and not from the Windows command line.  When
>using the windows command line to issue the (re)mount command, an automount
>occurs in cygwin1.dll.  My current line of thought is that setup.exe will do
>a LoadLibrary on cygwin1.dll followed by an unmount-mount sequence and that
>this should suppress the automount that occurs at the Windows command
>prompt.

You can use the -f flag in newer versions of mount to force a remount of a directory.

mount -b -f c:\cygwin /

You could also just use the getmntent/mount/umount functions, if this is a C program.

I don't know if this helps or not...

cgf

- Raw text -


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