delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/27/06:43:19

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 27 Jul 2009 12:42:53 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [1.7] Alternative root directory. Sort of a regression.
Message-ID: <20090727104253.GA18621@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4A6C347D DOT 2010404 AT shaddybaddah DOT name> <416096c60907270157l6f8fe287pfddac957fb03207d AT mail DOT gmail DOT com> <20090727091124 DOT GY18621 AT calimero DOT vinschen DOT de> <416096c60907270311u7f132f9ehb2ff0f72021188e5 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <416096c60907270311u7f132f9ehb2ff0f72021188e5@mail.gmail.com>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Jul 27 11:11, Andy Koppe wrote:
> 2009/7/27 Corinna Vinschen:
> > that rootdir is only used by setup.exe, not by Cygwin.
> 
> I see, sorry. So I guess / simply is the parent of the directory
> cygwin1.dll is in? Makes plenty of sense.

That's the idea and the reason we don't write a / entry to /etc/fstab at
all anymore.  The default mount point setup, without having to write
anything to /etc/fstab is this:

- Check for Cygwin DLL path, for instance C:/cygwin/bin/cygwin1.dll.
- Strip DLL name and parent dir --> C:/cygwin
- Create default mount points from here:
    C:/cygwin / whatever binary,auto 0 0
    C:/cygwin/bin /usr/bin whatever binary,auto 0 0
    C:/cygwin/lib /usr/lib whatever binary,auto 0 0


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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