Hi
Doh! I forgot about tmpfs. That would be fine. I think I should start again.
8-)
-----Original Message-----
From: debian-devel-request@lists.debian.org
[mailto:debian-devel-request@lists.debian.org]On Behalf Of Torsten Marek
Sent: 04 October 2005 12:49
To: 'debian-devel@lists.debian.org'
Subject: Re: Developing a kiosk type system - advice needed
-----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 <shlomme@gmx.net>
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 debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
_____________________________________________________________________
This message has been checked for all known viruses on behalf of Sungard
Vivista by MessageLabs.
http://www.messagelabs.com or Email: mailsweeper.info@vivista.co.uk
For further information http://www.sungard.com/vivista
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________