delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/21/21:02:10

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
From: growler AT softhome DOT net
To: cygwin AT cygwin DOT com
Subject: Problem using ntfs junctions and latest cygwin setup
Date: Sat, 21 Jun 2003 18:01:47 -0600
Mime-Version: 1.0
X-Sender: growler AT softhome DOT net
X-Originating-IP: [216.254.21.233]
Message-ID: <courier.3EF4F1EC.00001B20@softhome.net>

I've used sysinternal's 'junction.exe' to have my actual Cygwin directory 
located under C:\Program Files\ but hard-linked to C:\Cygwin. I've done so 
for about 18 months now, and never had any problems. (for those not familiar 
with junctions, basically, before making a junction, C:\Cygwin is an empty 
directory, with the 'real' files located under C:\Program Files\Cygwin - 
after making a ntfs junction, win2k now thinks C:\Cygin has everything from 
\Program Files\Cygwin in it.) 

However, the latest postinstall script truly makes a mess of things: after 
running cygwin's 'setup.exe' (and doing an "Install from Internet"), all the 
packages are downloaded and installed, but C:\Cygwin is no longer linked to 
\Program Files\Cygwin. C:\Cygwin ~only~ has the just-downloaded programs and 
files. Somehow the junction "link" has been broken. All the existing 
material still exists in C:\Program Files\Cygwin, but now they are two 
separate directories. 

I deleted everything in C:\Cygwin, recreated the junction to C:\Program 
Files\Cygwin, and ran setup.exe again, but the same thing occurred. 

I then tried running 'setup.exe' without downloading the latest postinstall 
script 'update-info-dir.sh' and this problem did not occur. 

My cygwin setup.exe version is 2.340.2.5. 

The _update-info-dir script is version 00170-1, updating from 00167-1. 

Honestly, the connection between an eradicted ntfs junction and running the 
postinstall script seems hard to imagine, yet is easily duplicated through 
repeated testing. 

Any ideas?? 

eric

--
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