Added some interesting functionality to my cygwin sandbox

Christopher Faylor
Tue Jul 1 16:07:00 GMT 2003

On Tue, Jul 01, 2003 at 12:00:07PM -0400, Igor Pechtchanski wrote:
>On Tue, 1 Jul 2003, Corinna Vinschen wrote:
>> On Tue, Jul 01, 2003 at 11:41:17AM -0400, Igor Pechtchanski wrote:
>> > Yes, but when you create a symlink, that's exactly what you're doing
>> > (storing the result).  Or are you suggesting re-creating the symlinks on
>> > the fly every time?  Can you think of another way of making symlinks
>> > mount-independent?
>> No but AFAICS there should be no need to create a symlink to a file
>> installed through setup using the cygdrive prefix.  All these files
>> are surely inside of the / mount and so all these symlinks should
>> always use either the full path from the Cygwin root or (better) a
>> relative path.
>Ah, but what about files that are *outside* of the Cygwin root tree (in
>known locations)?  Such as the HOSTS file in the windows system directory,
>for example?

I don't see that this is any different than a normal UNIX problem of remounting
in different locations.

However, I think we've talked about doing something like /cygdrive/windows or
something like that, to find...   Wait a minute.  Nevermind.  Stupid idea.
That wouldn't solve this at all.

One thing that could be done is to mount the windows directory using /windows
or something.  Then you could just use the mount table directly.


More information about the Cygwin-developers mailing list