If I recall things correctly: at some point in time
the kernel would reject a swapon on a swapspace that was
larger than it could handle (instead of just using the
initial part).
That is why mkswap contains a lot of very ugly code
that compares the size with the maximum certain kernels
will accept for swapon.
I have not checked recently what the present situation is.
Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/