Re: [Exim] Exim install script

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Sheldon Hearn
CC: exim-users
Sujet: Re: [Exim] Exim install script
On Thu, 13 Sep 2001, Sheldon Hearn wrote:

> Can't we use hardlinks, so that the end result is to have the correct
> version of Exim installed as the expected binary?


I'm wary of hard links. They cause confusion because of their rarity. I
got bit recently and overwrote a Perl binary by mistake because of this.

With more and more less and less knowledgeable people getting involved,
I'd rather keep away from multiple hard links.

Incidentally, since the start of Exim I've always run it on "live"
systems with the binaries having "versioned" names and "exim" being a
symbolic link. I find this very convenient for changing versions
seamlessly. (I have a move_alias command that does it atomically.)

I suppose a different scheme could be cooked up which preserves the name
"exim" for the actual binary, and uses a versioned name for the previous
versions. I'm not all that convinced.


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.