From owner-freebsd-stable@FreeBSD.ORG Tue Nov 13 01:53:24 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A31E16A418 for ; Tue, 13 Nov 2007 01:53:24 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.freebsd.org (Postfix) with ESMTP id C2AE113C494 for ; Tue, 13 Nov 2007 01:53:23 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so1725841pyb for ; Mon, 12 Nov 2007 17:53:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=jUU7HgGXD8GKxs3IWQEAc7I2Nx5eAK1sz9w2/bYwaYQ=; b=nmvsh5/dF14/z4BkLP1moTmJcKsejaw534TJozElcGVyiZIpYyXinwIUgbiAlR1TfuGizPELk4/8d+Z7k7xhLv3Ooo7QBfG+OCDkcGQ8hbv/pfRNEhZDkjYLDzSf6l3R9rKg6fEPihEvxz+dD7y2RhBX3e5PifH7pW83P9MqPMw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=MTu0cS01/Rw5P8jXZNrhtOadRdut5qICzGWlFX+G+wwuzqWcIart5QbooCjMHM35dwbpLjnXZ3z8kRlvGiQAgxM4U7WHnC7L5VN4LMZMWM6qk8RGByZQ6Vo3JhiBSqk4Y+UIOaClV4XDeU17BeZk8VDDWfsVIHLLglrDKU8pI0A= Received: by 10.65.124.8 with SMTP id b8mr15189898qbn.1194918794471; Mon, 12 Nov 2007 17:53:14 -0800 (PST) Received: by 10.65.237.12 with HTTP; Mon, 12 Nov 2007 17:53:14 -0800 (PST) Message-ID: Date: Tue, 13 Nov 2007 10:53:14 +0900 From: "Adrian Chadd" Sender: adrian.chadd@gmail.com To: "[LoN]Kamikaze" In-Reply-To: <4736BB24.8010905@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071102095628.GA796@0lsen.net> <472AF94B.1020600@gmx.de> <20071104200325.T91647@fledge.watson.org> <20071104211009.GC20861@0lsen.net> <4736BB24.8010905@gmx.de> X-Google-Sender-Auth: 18231c9767d52aed Cc: freebsd-stable@freebsd.org, Clint Olsen Subject: Re: Source upgrade from 5.5 to 6.X not safe? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2007 01:53:24 -0000 On 11/11/2007, [LoN]Kamikaze wrote: > > If a binary/library that is currently used gets removed/replaced, it will be > copied to memory. The process will not even recognize this. Only restarting > the process will remove the old version from memory and cause the new one to > be used. I thought every OS did it like that, so I'm surprised that there are > systems causing problems in this case. Wha, when did that happen? I was always under the impression that binaries/libraries were demand paged in and referenced as a VM object via VFS; you could unlink/rename the file and the currently open reference would still be valid. (Admittedly I looked at this last in 4.x VFS.) Doing a rename-replace-unlink shouldn't clobber existing binaries that are using the library. Doing an -overwrite- of the existing file will cause exciting results. man install. :) Adrian -- Adrian Chadd - adrian@freebsd.org