This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: Problem installing setup-1.7
On Apr 27 15:09, Charles Wilson wrote:
> Corinna Vinschen wrote:
>
>> Nevertheless, take the scripts carefully for now. I have a nagging
>> feeling that my approach to fetch the old mount points from the registry
>> is not exactly foolproof. Something about the rootdir...
>
> Well, if you follow Brian instructions here:
> http://cygwin.com/ml/cygwin-apps/2008-04/msg00299.html
>
> Then when you run setup-1.7.exe you don't /have/ any mounts in the registry
> -- so all you'll get in /etc/fstab are the basic default mounts. [*] Later,
> when setup-1.7.exe is updated -- so that we don't have to remove all the
> 1.5 mount info from the registry before running setup-1.7.exe -- it'll work
> better on that initial install, but only for system mounts -> /etc/fstab.
> It doesn't attemp to replicate user mounts (for all users? current user?
> some selected group of 'cygwin' users? Yech!) into /etc/fstab.d/. That's
> ok, IMO, but when we release 1.7, end-users need to know about that update
> quirk.
I'm not quite sure I understand what you mean. The postinstall script
is supposed to create the mount points according to the user's 1.5
based system registry mount table. This is for a replacement of a
1.5 with a 1.7 installation, as it's supposed to be at one point.
The problem is that this doesn't allow a parallel installation for
now, even if setup-1.7 is working as advertised. I should add code
to the script which replaces all $OLD_CYGWINROOT path components with
$NEW_CYGWINROOT on the fly to support that.
/etc/fstab.d/$USER is created and old 1.5 registry user mount points are
copied to /etc/fstab.d/$USER on the fly when the user starts the shell
the first time. That's done by the new /etc/profile.d/user-fstab.c?sh
scripts in base-cygwin.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat