This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fw: Mounts to root directories causes setup.exe to crash

This was posted to cygwin@ some time ago. I've had it sitting in my
"to-look-at" folder ever since.

I did verify it some time around the 2.31x period.


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]