SWSUSP
Enable the possibilty of suspending machine. It doesn't need
APM. You may suspend your machine by either pressing Sysrq-d
or with 'swsusp' or 'shutdown -z <time> (patch for
sysvinit
needed). It creates an image which is saved in your active
swaps. By the next booting the kernel detects the saved
image, restores the memory from it and then it continues to
run as before you've suspended. If you don't want the
previous state to continue use the 'noresume' kernel option.
Right now you may boot without resuming and then later
resume but cannot use those swap partitions/files which were
involved in suspending. Also, there is a risk that buffers
on disk won't match with saved ones (There is a code that
revalidates buffers but currently disabled..) If you need
such a facility you may give it a test.
Objective:
To take this code and the code needed to develope it so we can build our hardware device accordingly.
Example:
A gnome desktop configuration that user has configured to his/her personal envirnonment. Capture all the desktop settings, icons, applets, etc, and store it on some removable storage device. Take this device and place it into some other machine, `boot` into the envirnonment as you would your own into the last saved session.