On Sat, 9 Dec 2000, Pavel Machek wrote:

> It is possible to remove swapfile in use. Great, but how do you
> swap off then? Who is to blame?

As usual, root is to blame ;)

> root@bug:~# swapoff /tmp/swap
> swapoff: /tmp/swap: No such file or directory
> root@bug:~# > /tmp/swap
> root@bug:~# swapoff /tmp/swap
> swapoff: /tmp/swap: Invalid argument
> root@bug:~#

Don't let your automatic /tmp cleaners remove the swap
file ;)

> How do I get out of this bad situation?

Reboot.

cheers,

Rik
--
Hollywood goes for world dumbination,
        Trailer at 11.

                http://www.surriel.com/
http://www.conectiva.com/       http://distro.conectiva.com.br/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to