[Mono-dev] upgrading an app

Tom Bombadil grlists at gmail.com
Mon Sep 18 14:15:44 EDT 2006


> If the timestamp changes, so its not surprising that you are having
> problems with NFS, the client is probably caching the time.

Another question regarding this:
What's the condition that mono uses to pickup the change in the timestamp?
- if timestamp changed? or
- if new timestamp > previous timestamp

I'm asking because this last one would be bad if we are trying recover
from backup for example.

Thanks ;)


Miguel de Icaza wrote:
>> The doc below says that mono picks up changes in the src automatically:
>> http://www.mono-project.com/FAQ:_ASP.NET#My_application_fails_if_I_replace_binaries
>>
>> My question is: how does mono pick up changes in the src files, when we
>> replace them? by the date in the file? by md5 checksum?
> 
> If the timestamp changes, so its not surprising that you are having
> problems with NFS, the client is probably caching the time.
> 
>> Also, if we are using a DLL with mod_mono... what's the best way of
>> reloading it:
>> - "rm + cp" as shown in the URL above; or
>> - just move the file over, and use the control panel, as shown here:
>> http://www.mono-project.com/Mod_mono#Control_panel
> 
> In Unix it is legal to overwrite a file that is currently open by a
> process, if you do not rm/cp (which guarantees that the link is broken)
> you will alter data behind mono's back.
> 



More information about the Mono-devel-list mailing list