Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: swap file??< Next Oldest | Next Newest >
anaconda Offline





Group: Members
Posts: 96
Joined: Mar. 2006
Posted: Mar. 10 2006,10:26 QUOTE

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?


--------------
___
anaconda
Back to top
Profile PM 
lovdsl Offline





Group: Members
Posts: 359
Joined: Feb. 2006
Posted: Mar. 11 2006,01:57 QUOTE

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
Back to top
Profile PM 
skaos Offline





Group: Members
Posts: 430
Joined: April 2004
Posted: Mar. 13 2006,15:21 QUOTE

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.
Back to top
Profile PM 
anaconda Offline





Group: Members
Posts: 96
Joined: Mar. 2006
Posted: Mar. 13 2006,17:15 QUOTE

Thanks :)

Just what I was looking for!


--------------
___
anaconda
Back to top
Profile PM 
3 replies since Mar. 10 2006,10:26 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: swap file??

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code