> Are you suggesting I might have to recompile my kernel after some file
Ken, no, just find the script (maybe in /*/init.d which calls swapoff)
command. It should say 'swapoff -a'.
It may be somewhere else, some kind of shutdown script, which runs after
the run level stuff, a bit like boot.local.
Quote:> I looked at some of the threads, but couldn't come to a conclusion wether
> it was wise to play around with the kernel which is what I think was being
They're trying to fix the real problem, the work round is _not_ to do
swapoff at all, why bother when you're shutting the machine down?
Quote:> There is a swapoff command I could use just before shutdown. The handbook
> that comes with SuSE 7.0 suggests that you should never assign no swap
> space at all, even with machines with 256Mb and over, and even suggest you
> should never turn the machine off because of the benefits of the way Linux
> uses the swap file
I suggest avoiding calling it, as your initial post suggested that was
Quote:> I'm hoping that I will be able to find out why the swap doesn't always
> turn off, but in the meantime "swapoff" will put me out of a bit of misery
A bug. :)
Hope that's clearer now