Swap space - The Answer

Dan Osterrath do3 at mail.inf.tu-dresden.de
Mon Nov 11 16:38:26 PST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> http://www.xenotime.net/linux/swap-mini-howto.txt

code data will not be swapped but re-read from the filesystem? I can't 
imagine!
At first there is no seperation between code and data on von-Neumann machines. 
And the other problem would be the following scenario I just tried:
1. remote login to a machine via ssh
2. install new version of ssh over the existing
3. the machine tries to swap sshd but it is code and will not be swapped as it 
could re-read from /usr/sbin
4. when re-reading /usr/sbin/sshd the should be a segfault os somethign 
similar as sshd is onother one than the executed.

As this problem did not occur in my previous installations of ssh I think code 
data WILL be swapped to swap partitions or files.

Correct? Or did I miss a thing?

- -- 
- ----------------------------------------------------------------------
%> ln -s /dev/null /dev/brain
%> ln -s /dev/urandom /dev/world
%> dd if=/dev/world of=/dev/brain
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE90E2F9NbB8EM160MRAqqfAKC+b6WdYiH9sh0OlZ5R+dMt2Yc++ACglB3n
eiT2WnViw+H/6fyfw4YNp90=
=0Yhv
-----END PGP SIGNATURE-----

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list