Source upgrade from 5.5 to 6.X not safe?

[LoN]Kamikaze LoN_Kamikaze at
Mon Nov 12 22:31:18 PST 2007

Adrian Chadd wrote:
> On 11/11/2007, [LoN]Kamikaze <LoN_Kamikaze at> 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.

I didn't know that binaries and libraries keep a reference to the file they
were created from. Anyway, to the user the whole thing is transparent.

More information about the freebsd-stable mailing list