portupgrade when running an application ?
Johnson David
DavidJohnson at Siemens.com
Fri Apr 4 10:36:47 PST 2003
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
More information about the freebsd-newbies
mailing list