Skip to contentSkip to conversation

Turning off paging to disk?

DISCUSSION mayan 2 participants 2 messages Mar 2, 1999 – Mar 3, 1999

lore
Share & tools
lore

mayan

author
#0 lore raw

How does one turn off paging to disk?

I am booting with root=/dev/ram, with no disk, and I was wondering how to disable swapping (or at least fool Linux into swapping from memory to memory :)

Thanks!
Mayan

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to [email protected] ]]

#1 lore raw
Quoted 5 lines · mayan

How does one turn off paging to disk?

I am booting with root=/dev/ram, with no disk, and I was wondering how to disable swapping (or at least fool Linux into swapping from memory to memory :)

iirc, swapping is activated by the program swapon. look through your startup sequence to figure out when this is activated, and disable it. or, if you just need to disable swapping temporarily, i believe there's a swapoff program. finally, if you comment out the lines in /etc/fstab that indicate what your swap partition(s) are, then swapon probably won't do anything.

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to [email protected] ]]