delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/08/29/00:29:39

From: DJ Delorie <dj AT delorie DOT com>
Subject: Re: Where to install gnu-win32...
29 Aug 1998 00:29:39 -0400 :
Message-ID: <35E783B3.167E@delorie.com>
References: <117E611CDA2DD1118F38006097D2F7140A62B6 AT ntserver DOT stelnj DOT com> <35E6E888 DOT 4DA8977F DOT cygnus DOT gnu-win32 AT ivs DOT com>
Mime-Version: 1.0
X-Mailer: Mozilla 3.0 (X11; I; IRIX 5.3 IP22)

Dennis Newbold wrote:
> I was a little surprised that I could umount /, but it seemed to work OK.

The mount tables are only used to translate file paths.  Unlike Unix,
there is no locking mechanism that would prevent you from unmounting
a mount while you're in that directory.  In the absense of mounts,
it probably maps the current drive as-is (so "/" is the root of
whatever drive you're on).  Note that changing the mount table
while you're using that mount may lead to interesting results,
like `pwd` changing out from under you.

- Raw text -


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