Re: Thinking aloud.
"Kenneth R. Crudup" <[email protected]> Fri, 19 Oct 2012 15:03:05 -0700 (PDT)
| Newsgroups | gmane.linux.swsusp.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 20 Oct 2012, Nigel Cunningham wrote: > Anyway, what I've been thinking about is that fact that each time we write the > image, we write the complete image. Surely there must be a portion of the data > that is exactly the same as last time, and therefore shouldn't need to be > written again. > My initial thought is to use SHA1 checksums to determine what pages have > changed .... > What do you think? Heh. "git format-patch -1 ./hib-image && cp -a ./hib-image /dev/<swap>!" :) :) But seriously, one issue that springs to mind is disk layout would have to have not changed at all, else every block could look "changed" anyway. -Kenny -- Kenneth R. Crudup Sr. SW Engineer, Scott County Consulting, Los Angeles