delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/14/11:05:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sat, 14 Dec 2002 11:05:24 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Magnus Holmgren <magho AT home DOT se>
cc: cygwin AT cygwin DOT com
Subject: Re: BUG: Mounts to root directories causes setup.exe to crash
In-Reply-To: <LNBBJIKCLBKJMCCLELOEIEOCCIAA.magho@home.se>
Message-ID: <Pine.GSO.4.44.0212141104410.12239-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Sat, 14 Dec 2002, Magnus Holmgren wrote:

> Greetings!
>
> The cygwin installer, setup.exe, crashes when trying to install files to
> a directory which has been mounted to the root directory of a drive.
>
> Setup.exe must of course look at the mounts recorded in the registry to
> install files in the correct places. However, when you mount a cygwin
> directory, such as /etc, on the root directory of a partition, like e:\,
> regardless of whether it's done with the command "mount e:\\ /etc", "mount
> e:/ /etc" or "mount e: /etc", only the drive letter and the colon (e:) is
> recorded in the registry. This causes setup.exe to crash when it tries to
> copy files (e.g. to /etc/postinstall). Manually editing the registry,
> adding a backslash after the colon, solves the problem.
>
> I suggest that setup.exe assume that <driveletter>: means <driveletter>:\
> in the registry (HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
> and possibly HKEY_CURRENT_USER\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2).
>
> Setup.exe demands that the cygwin root directory, which is asked for on its
> third screen, is absolute, i.e. begins with <driveletter>:\, so that's not a
> problem.
>
> Regards,
> Magnus Holmgren

Shouldn't we also change mount to record the trailing '\' in the registry?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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