Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
96 user(s) are online (78 user(s) are browsing Forums)

Members: 0
Guests: 96

more...

Support us!

Headlines

Report message:*
 

Re: AmiSystemRestore - beta testers wanted!

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

@nexus

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