This is the mail archive of the cygwin 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]

Re: update via setup.exe removed NTFS junction?


Robert Collins <rbcollins@cygwin.com> wrote:
> On Wed, 2004-02-04 at 10:37, Robert R Schneck-McConnell wrote:
>> For reasons which are now obscure to me, I had set up an NTFS junction
>> point from /var (c:\cygwin\var) to some other partition.  Could have
>> done it with mount, but I didn't.
>>
>> Just today after running setup.exe and getting cygwin-1.5.7-1 and a few
>> other things, I found that /var was now an ordinary directory with
>> the only contents the subdirectory cache (with empty subdirectory man)
>> and the subdirectory log (with setup.log and setup.log.full).
>
> cygcheck isn't useful. The full setup log might be useful, but I rather
> doubt it.

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?

Robert


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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