From owner-freebsd-newbies@FreeBSD.ORG Fri Apr 4 10:36:47 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 354AB37B401 for ; Fri, 4 Apr 2003 10:36:47 -0800 (PST) Received: from thor.acuson.com (ac17859.acuson.com [157.226.71.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B5C443F3F for ; Fri, 4 Apr 2003 10:36:46 -0800 (PST) (envelope-from DavidJohnson@Siemens.com) Received: from mvaexch02.acuson.com (mvaexch02.acuson.com [157.226.230.209]) by thor.acuson.com (iPlanet Messaging Server 5.2 (built Feb 21 2002)) with ESMTP id <0HCU006IG10KV7@thor.acuson.com> for freebsd-newbies@FreeBSD.ORG; Fri, 04 Apr 2003 10:36:20 -0800 (PST) Received: by mvaexch02.acuson.com with Internet Mail Service (5.5.2653.19) id ; Fri, 04 Apr 2003 10:27:08 -0800 Received: from dhcp-46-117.acuson.com ([157.226.46.117]) by mvaexch01.acuson.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id GNSXH3W1; Fri, 04 Apr 2003 10:28:41 -0800 Content-return: allowed Date: Fri, 04 Apr 2003 10:36:21 -0800 From: Johnson David In-reply-to: <1049443564.277.12.camel@Toto.dippgw.homedns.org> To: Anselme , FreeBSD-Newbies Message-id: <200304041036.21678.DavidJohnson@Siemens.com> Organization: Siemens Medical Systems MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: KMail/1.5 References: <1049443564.277.12.camel@Toto.dippgw.homedns.org> Subject: Re: portupgrade when running an application ? X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2003 18:36:47 -0000 On Friday 04 April 2003 12:06 am, Anselme wrote: > Hi everyboddy, > > I wonder if there is any probleme to upgrade an application when this > one is running ? For some programs there may be, but so far I haven't encountered any. In fact, I've been able to upgrade the base OS and all installed ports while surfing the web and other desktop activities, and only needed one reboot. Wow! I don't know if I would recommend it, but it is possible. > $ portupgrade -Rr XFree86 > > By the way, after the portpgrade, when does the new XFree86_4_03 will > be take in charge by my computer ? the next time I reboot ? (answering a somewhat technical question since this is more of a "how does stuff work" rather than a "how do I do this" question) There's actually two halves to X, the server and the client libraries, and they talk to each other through a standard protocol. The old server will keep on running until you restart X. Applications that use the client libraries will use the new version when they are started, but currently running applications will continue to use the old version loaded in memory. Read up the technical pages for XFree86 and the X11 protocol for more information. The best way to ensure that everything is synced up with the new version is just to restart X, typically by logging out of X and starting it up again. But because of the X11 protocol, it isn't really necessary unless you want to utilize some new features in the newly installed version. David