PDA

View Full Version : How to Make a swap File instead of a swap partition


Atjeu
10-22-2005, 05:00 PM
You can create a swap file by:

1. dd if=/dev/zero of=/sfile bs=1024 count=4096000
This will create a file image of size 4 GB.
2. mkswap /sfile
This will setup the swap file fo you.
3. swapon /sfile
To enable the new swap file.
4. Edit /etc/fstab and put the entry:
/sfile swap swap defaults 0 0
to start this swap location every time you boot the machine.

You can verify the new swap file settings by:

cat /proc/swaps

NervniyPetr
03-20-2010, 03:36 PM
index (http://bcyouthweek.com/gallery/g/index.php)
authentic chicken enchilada recipe (http://CHACQUENEAU.COM/xportal/showpage377.html)
how to resolve W32/Vbbot (http://alirio.com/xinfo/page433.html)
ping ftp server (http://CPRSNS.COM/maxforum/showthread54.html)
top spin 3 virtua tennis 2009 (http://CPRSNS.COM/portal/page365.html)
access 2003 asset tracking (http://COMPLETEINVESTOR.COM/station/thread219.html)
BehavesLike.Trojan.ShellHook removal (http://am-int.com/mediainfo/showthread378.html)
how to delete Trojan.Almanahe (http://alonsopereira.com/infoport/showpage421.html)
zac efron making out (http://COMPLETEINVESTOR.COM/wikiworld/show163.html)
keith olbermann ratings 2008 (http://CUBEMATCH.COM/xcatalog/showpage503.html)
remove RogueAntiSpyware.InternetAntivirus with easy remover software (http://am-int.com/knows/page15.html)
how to disable Trojan.PWS.Gamania.23518 (http://am-int.com/xinfo/wikiinfo3.html)
how to disinfect Trojan.Agent.403456.A (http://am-int.com/knows/page498.html)
terrell owens nfl draft (http://CUBEMATCH.COM/mg/showth239.html)
oscar wilde the picture of dorian gray quotes (http://BODINBAND.COM/portal/show376.html)
how to cure Backdoor/Win32.MoSucker.gen (http://aguaviva.tv/info/showpage274.html)
freelance writing job (http://CHACQUENEAU.COM/wikim/page181.html)
creepy scary pictures (http://COMPLETEINVESTOR.COM/phorum/show396.html)
Gen:Tr.Agt.Dlf.GY.rGW@a0g224m uninstall instructions (http://aldonero.com/massvinfo/show421.html)
how to resolve Gen:Trojan.Heur.huW@KuIv!Yfb (http://am-int.com/mediainfo/showthread512.html)
disney preschool games (http://COMPLETEINVESTOR.COM/wikiworld/show291.html)

NervniyPetr
03-28-2010, 03:25 AM
Wow thats really interesting. Thnx for sharing!
. (http://markantoffice.com/phorum/page159.html). (http://markantoffice.com/boards/page256.html). (http://markantoffice.com/libr/page24.html). (http://markantoffice.com/boards/page240.html). (http://markantoffice.com/phorum/page297.html). (http://markantoffice.com/wiki/page184.html). (http://markantoffice.com/boards/page242.html). (http://markantoffice.com/boards/page173.html). (http://markantoffice.com/portal/page69.html). (http://markantoffice.com/portal/page170.html). (http://markantoffice.com/boards/page4.html). (http://markantoffice.com/phorum/page165.html). (http://markantoffice.com/phorum/page244.html). (http://markantoffice.com/wiki/page63.html). (http://markantoffice.com/phorum/page164.html). (http://markantoffice.com/boards/page198.html). (http://markantoffice.com/phorum/page144.html). (http://markantoffice.com/wiki/page33.html). (http://markantoffice.com/libr/page207.html). (http://markantoffice.com/wiki/page235.html)