Creative Commons License credit: Benwall

In these last few days there were rumors about deft attitude to alter the suspect computer’s swap partition under REALLY rare conditions. After several tests we noticed that this behavior is caused by a bug in the Linux swap mount feature: Linux, in a PC with less than 98mb of RAM memory, active the device in RO but it arbitrarily decide to use the swap partition ignoring the RO in Fstap.
It’s really weird! we think that it’s a linux’s bug.

Talking of DEFT 3.x We implemented a different kind of swap partition manager, much more effective. We decide to roll back and adopt the same manager in v4.x releases.

DEFT v4.01 is ready and you can download from http://www.deftlinux.net/download/

This post has 5 comments. Add your own.

  1. admin

    Only english comment please.

    28 Nov 08 at 3:30 pm #
  2. 1. I’m not sure I believe this bug exists

    2. The authors should *really* be posting this to LKML if they believe it is genuinely a Linux kernel bug (or a suitable maintainer if it’s a “mount” bug etc.).

    3. The correct way to stop swap from being activated by swapon -a is by setting it to noauto, the ro mount parameter really doesn’t have anything to do with it. So I think you’re right, no bug, only misunderstanding.

    28 Nov 08 at 4:15 pm #
  3. admin

    **I speak about a Linux bug, not a kernel bug.

    You say: “The correct way to stop swap from being activated by swapon -a is by setting it to noauto, the ro mount parameter really doesn’t have anything to do with it. So I think you’re right, no bug, only misunderstanding.”

    **i don’t thinks that is the true.

    noauto is used for skip automount in fstab… in the old fstab there was the swap mount but in ro mode, not like Ubuntu “default” or rw; whit this configuration the system must not use the file system in rw… but it “decide” to use in rw! It’s an error in my country!!! :-)

    The correct way to disable swap is the old mode used in DEFT v3, and i rollback the configuration like DEFT v3.

    Bye

    Stefano

    28 Nov 08 at 5:04 pm #
  4. Steve

    So what is the old way exactly? How does it work?

    22 Dec 08 at 2:26 pm #
  5. admin

    The old way is not use the 13swap script that contain the fstab swap side script.

    Bye.

    Stefano

    22 Dec 08 at 2:36 pm #

Post a comment