X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=AumbhcEnqPnVBQln 06pNvBnFB5OpYPKFHan4HEMD8K96T4iXxVJPUtxffLb4EEnSlTt5VSKFxGLoN7lc 2ukXTroMq+1lBOsjRPdzPcowArssPVWGKm7+HXjR8BUOyHoMLgi0TxvhOJiie5Qy ZTaqjZHmVRR1XCZGc+qMGlbBrDo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=tjN3NxWFHqKXMy3+Ki3Cbn 6ybXk=; b=Dz9My0HPa0YPQMM8TJjxA96dCm95HWYNLt4lnwDwzeLyKOlXyLX3Bq Aih+9GESW69wcRALUyJAAo0s73lc9n8MW8y6sGi++akQOC4Ceq5jgMonRGdmtG07 hbDllfhDpG3o1QFN6KYUOC2ydVkzOa7flGUroPlNUn6NOoWF2e4OY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 X-Spam-SWARE-Status: No, score=3.8 required=5.0 tests=AWL,BAYES_50,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RDNS_NONE autolearn=no version=3.3.1 Message-id: <51E5A8E7.8010307@cygwin.com> Date: Tue, 16 Jul 2013 16:11:19 -0400 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: How does 'alternatives' find a file? References: In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit On 7/16/2013 2:46 PM, Henry Baker wrote: > I've had to create a cygwin tree from a circa 2011 tar dump, and I've > had a devil of a time trying to make it work. > > The biggest problem I have right now is that 'alternatives'-style > symlinks don't work. > > (The "!"-style symlinks _do_ seem to work.) Here's the page from the Users Guide with the information about the different kind of symlinks: Looking at the ones I have in /etc/alternatives, they are the first kind listed (or the ones that you say work for you). Make sure the DOS SYSTEM attribute (and only that attribute) is set. Also, if the tree doesn't come from Cygwin 1.7 days and you're not using the same character set as you were then, you'll need to recreate the symlinks to get them working again. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple