Subject: Re: update via setup.exe removed NTFS junction?
From: Robert Collins <[email-masked]>
To: Robert R Schneck <[email-masked]>
Cc: [email-masked]
Date: Wed, 04 Feb 2004 11:35:41 +1100

On Wed, 2004-02-04 at 11:25, Robert R Schneck wrote:

> In fact you are correct.  setup.log.full contains:
> 2004/02/03 22:59:17 Uninstalling man
> ...
> rmdir C:\cygwin/var/cache/man
> rmdir C:\cygwin/var/cache
> rmdir C:\cygwin/var

> Indeed, calling rmdir on a junction point will remove it, I suppose 
> since there's an empty placeholder which gets removed.
> 
> 
> > Short answer is: 'don't do that'.
> 
> Reasonably good advice.  But it's possible that this should be 
> considered a bug: uninstalling man shouldn't even try to get rid of var, 
> perhaps?

Nope. When uninstalling, directories are cleaned up. I'm not going to
special case 'uninstall completely' when we don't need to. 

Sounds to me like the windows API has yet another idiocy.

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.