How does 'alternatives' find a file?

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Tue Jul 16 21:02:00 GMT 2013


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 "!<symlink>"-style symlinks _do_ seem to work.)

Here's the page from the Users Guide with the information about the
different kind of symlinks:

<http://cygwin.com/cygwin-ug-net/using.html#pathnames-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



More information about the Cygwin mailing list