More: [1.7] packaging problem? Both /usr/bin/ and /usr/lib/ are non-empty

Corinna Vinschen corinna-cygwin@cygwin.com
Mon May 11 07:32:00 GMT 2009


On May 10 12:31, Christopher Faylor wrote:
> On Sun, May 10, 2009 at 12:46:46PM +0000, Earnie Boyd wrote:
> > All else seems silent on the proposal.  You might want to give it a go.
> 
> If it isn't too much trouble, could the proposal be summarized?
> 
> If it is just that the / entry in fstab be ignored in favor of being
> equivalent to one level above where the cygwin DLL was found, I think
> that's a good idea.  That is actually sort of similar to the way the
> linux boot process works.  The root is controlled by the kernel and the
> entry in /etc/fstab doesn't really necessarily mean much.

The idea is to convert the /usr/bin and /usr/lib mount points also to
non-changable mount points since they are supposed to point always to
/bin and /lib.

Right now we have this somewhat fragile construct that base-cygwin must
create the /etc/fstab file first, otherwise the mount points are not in
place when later postinstall scripts access files in /usr/bin or
/usr/lib.

It seems a more robust solution to create all three mount points in Cygwin
itself and make them readonly.

Good? Bad? Ugly?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat



More information about the Cygwin-developers mailing list