[A83] Re: Special ram areas?


[Prev][Next][Index][Thread]

[A83] Re: Special ram areas?




> Van: brandon <bms9019@rit.edu>
>
> How do you intend to check if the file is still in the same location it
> used to be in?  When a program moves, sometimes the data in the
> old location gets overwritten.  Sometimes it doesn't.  Just like a quick
> format doesn't really erase the data on your disk, only the vat changes.
> So whats the problem with that?  Nothng if the entire data is completely
> unwritten but more likely the data will be half there, half not.

Okay, good thinking. Hmm, let's see. If a program is deleted or moved the
original data is still there, but could be overwritten by (an)other one(s).
Since the files in memory are stored stackwise (one stack from the 'bottom'
of the usermem, and another one leading form the top) you can say that if
you detect that the begin or end of your hook-routine is corrupt, you know
enough (aka, checking the rest is 'needless'). Though there is a small
possibilty that the file that is now partialy over your routine has the
same data as what should have been there...

	Henk Poley <><




Follow-Ups: