swap file??


Forum: Other Help Topics
Topic: swap file??
started by: anaconda

Posted by anaconda on Mar. 10 2006,10:26
Is it possible to use swap-file in DSL, or do I have to specify a partition for swap?

I already have 3 primary and 1 logical partitions, and splitting the logical isn't an  option.. so can't make separate partition for swap...

But swap-file would solve the problem. Is it possible?

Posted by lovdsl on Mar. 11 2006,01:57
You can use swap files for dsl. you can set a partition as swap in fdisk use "t" "82" for the partition you want to make swap..then make swap and turn on. my understanding is that it is not like windows which uses remaining drivespace on the drive. green, hope that helps
Posted by skaos on Mar. 13 2006,15:21
dd if=/dev/zero of=/tmp/swap bs=1024k count=32
mkswap /tmp/swap
swapon /tmp/swap

This creates a 32 MB swap file in the tmp directory. The last command have to be run at every boot.

Posted by anaconda on Mar. 13 2006,17:15
Thanks :)

Just what I was looking for!

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.