This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: /etc/alternatives was RE: [Re: GCC 4 installation problem]


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@web.cs.ndsu.NoDak.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]