Remember me

Lost Password?

Register now!


Who's Online
88 user(s) are online (76 user(s) are browsing Forums)

Members: 0
Guests: 88



Report message:*

Re: AmiSystemRestore - beta testers wanted!

Subject: Re: AmiSystemRestore - beta testers wanted!
by abalaban on 2011/9/2 9:54:17


Yes we have filesystem notification but for what ChrisH is trying to do (i.e. backup any changing file, so that you are able to restore it in case of problem) this is too late because the modification already happened when you get the notification.

So the only solution currently is to 'patch' some strategic OS functions using Exec/SetMethod() in order to intercept calls to those functions do what you have to (i.e. save states and make backup) and then leave the control to the original OS function.

That's risky because if your code is buggy you can completly prevent execution of the normal OS function thus making your system's behaviour totally unpredictable.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project