delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/26/10:39:29

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Date: Thu, 26 Mar 2009 10:33:55 -0500 (CDT)
From: Michael Hennebry <hennebry AT web DOT cs DOT ndsu DOT nodak DOT edu>
To: cygwin AT cygwin DOT com
Subject: Re: /etc/alternatives was RE: [Re: GCC 4 installation problem]
In-Reply-To: <5E25AF06EFB9EA4A87C19BC98F5C875302E759AB@core-email.int.ascribe.com>
Message-ID: <alpine.DEB.1.00.0903261029420.16229@mail.cs.ndsu.nodak.edu>
References: <49CA8243 DOT 2090908 AT encelade DOT com> <49CA90D2 DOT 9080809 AT gmail DOT com> <5E25AF06EFB9EA4A87C19BC98F5C875302E759AB AT core-email DOT int DOT ascribe DOT com>
User-Agent: Alpine 1.00 (DEB 882 2007-12-20)
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Eschew obfuscation.

On Thu, 26 Mar 2009, Phil Betts wrote:
> For the second problem, perhaps it would also help if the names of the
> links in the alternatives directory were a hash of the program name.
> E.g.
> /usr/bin/gs -> /etc/alternatives/9ad6a289eea9c92be09d3a5a8bc737e6
> /etc/alternatives/9ad6a289eea9c92be09d3a5a8bc737e6 -> /usr/bin/gs-x11
> where 9ad6a289eea9c92be09d3a5a8bc737e6 is the md5sum of "/usr/bin/gs".
> This would make it much more obvious that the links were managed, or
> at least give one pause for thought before diving in.

-- 
Michael   hennebry AT web DOT cs DOT ndsu DOT NoDak DOT edu
"Nothing says it like words if you know how to use them."
                   -- Professional Organization of English Majors

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