This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: mapping root directory to SystemDrive / CurrentDrive (documentation change needed)
- From: "Pierre A. Humblet" <pierre dot humblet at ieee dot org>
- To: cygwin at cygwin dot com
- Date: Mon, 27 Dec 2004 16:02:41 -0500
- Subject: Re: mapping root directory to SystemDrive / CurrentDrive (documentation change needed)
- References: <200408021452.34000.gernot.hillier@siemens.com> <200408031317.20267.gernot.hillier@siemens.com> <20040803115006.GR31522@cygbert.vinschen.de> <200408031400.08988.gernot.hillier@siemens.com> <20040803134524.GE16002@trixie.casa.cgf.cx> <cb51e2e04122710091b1e0cf5@mail.gmail.com>
On Mon, Dec 27, 2004 at 10:09:15AM -0800, Joshua Daniel Franklin wrote:
> On Tue, 3 Aug 2004 09:45:24 -0400, Christopher Faylor wrote:
> > On Tue, Aug 03, 2004 at 02:00:08PM +0200, Gernot Hillier wrote:
> > >Am Dienstag, 3. August 2004 13:50 schrieb Corinna Vinschen:
> > >>Keep in mind that this only happens if / isn't mounted -> back to
> > >>undocumented behaviour.
> > >
> > >Well, this is not undocumented. The case without mounts is explicitly
> > >documented on http://www.cygwin.com/cygwin-ug-net/using.html which says
> > >"By default, the POSIX root / points to the system partition [...]".
> >
> > Joshua, would you mind fixing the documentation?
>
> Well, this is embarrassing but I'm just getting caught up on last
> August's email. How does this sound?
>
> Since Windows uses drive letters
and UNC paths
> instead of a single filesystem
> root, the POSIX root <filename>/</filename> must be set to a directory
> in the Windows file system using the <command>mount</command> command.
In absence of such a mount, Cygwin maps / to the root of the current
Windows working directory (e.g. H:\ or \\computer\share)
[this is the long standing behavior, see
http://cygwin.com/ml/cygwin/2004-08/msg00016.html]
Pierre
--
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/