Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Shankar Unni Subject: Re: update via setup.exe removed NTFS junction? Date: Wed, 04 Feb 2004 17:09:26 -0800 Lines: 16 Message-ID: References: <1075854941 DOT 1481 DOT 68 DOT camel AT localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: adsl-64-165-207-59.dsl.snfc21.pacbell.net User-Agent: Mozilla Thunderbird 0.5a (Windows/20040120) In-Reply-To: Rafael Kitover wrote: > Maybe either Cygwin or fileutils could have some support for NTFS > junctions, The right long-term answer is to do proper reference counting among the packages. I.e. if two packages install a common file or directory, its reference count is 2. When uninstalling one of them, the reference count is decremented. Only if it is 0 is the file removed. This is implemented by many package managers out there, but only works if the package format has some builtin notion of an "add file" or "add directory" that can be undone during the uninstall, and does not depend on a "cleanup script" to clean up the files. It's quite a lot of work. -- 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/