delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/03/19:26:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: Robert R Schneck <schneck AT math DOT berkeley DOT edu>
Subject: Re: update via setup.exe removed NTFS junction?
Date: Wed, 4 Feb 2004 00:25:32 +0000 (UTC)
Lines: 32
Message-ID: <bvpe5s$63v$1@sea.gmane.org>
References: <E1AoA8z-000Kuu-Hs AT mk-smarthost-1 DOT mail DOT uk DOT tiscali DOT com> <1075851954 DOT 1481 DOT 65 DOT camel AT localhost>
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: 80.45.146.134
User-Agent: slrn/0.9.8.0 (CYGWIN_NT-5.1)

Robert Collins <rbcollins AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019