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

