-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Simon Guerrero schrieb: > Hi > > Thanks for your responses. The "suspend and always resume without > overwriting" is done by software suspend, with no problem. It is the > difficulty of resuming the writeable parts of the filesystem (/var and /tmp) > each time from an image which I am not sure about. > > I am thinking about adding a script to the rc2.d (or other runlevel) which > does: > > cat /ramdisks/var.img > /dev/ram1 > mount /dev/ram1 /var > and > cat /ramdisks/tmp.img > /dev/ram2 > mount /dev/ram2 /tmp > > Hi,
that might be one way, but I don't know if there are any problems if frozen programs have open files on /tmp or /var, since the processes are resumed before any run-level scripts (?). Maybe I am missing something, but if you have /tmp and /var as (size-restricted) tmpfs's when you create the image in the first place, what is the problem with that? best regards Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDQmw5fMVFHqJEyFgRAheiAJ4qwSu+lNqXi5C4WbQqo+U9H5DWNQCeNiKp dJvhLFOfMl7OxQFJePdH4nw= =9xx0 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]