Thus when trying the swapon system call, the kernel compained about
an attempt to access behind the end of the device (swap partition).
Then nothing worked. Pressing some magic keys showed that the process
running is the swapper.
I think the swapon algoritm should not only check the magic
signature, but also the size of the partition. If the partition is
smaller than the signature suggests, the system call should fail
(much more gracefully).
Ulrich Windl