Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Nov 2000 14:35:56 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        stable@freebsd.org
Cc:        khera@kciLink.com
Subject:   Re: dog bite?
Message-ID:  <200011052235.eA5MZug18909@vashon.polstra.com>
In-Reply-To: <14853.46185.942858.985511@yertle.kciLink.com>
References:  <E13s6DG-0000AY-00@rip.psg.com> <14853.46185.942858.985511@yertle.kciLink.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <14853.46185.942858.985511@yertle.kciLink.com>,
Vivek Khera  <khera@kciLink.com> wrote:
> 
> That file is unconditionally installed with the -C flag
> to install, so it keeps the same date even though the file is updated
> if the contents do not change.  There are a handful of files installed
> that way for some reason.  I know not why.

The -C flag is used for installing the dynamic linker because it
causes it to be installed atomically.  That is, it is first installed
to a temporary file, and then it is atomically renamed to ld-elf.so.1.
It ensures that at all times there is a valid dynamic linker, even if
you kill the job in the middle of the install.  You _really_ don't
want to have a system with a corrupted or missing dynamic linker.

John
-- 
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011052235.eA5MZug18909>