Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Magnus Holmgren" To: Subject: BUG: Mounts to root directories causes setup.exe to crash Date: Sat, 14 Dec 2002 14:38:05 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 Importance: Normal X-Spam-Status: No, hits=0.6 required=5.0 tests=SPAM_PHRASE_00_01 version=2.41-liu_1.3 X-Spam-Level: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gBEDcQk18213 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 : means :\ 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 :\, so that's not a problem. Regards, Magnus Holmgren -- 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/