Operating Systems > Linux and UNIX
Swap Files
billy_gates:
quote:Originally posted by JH:
Sure. Even though as it was already said it's not the best solution. Actually you'll need to create a file of certain size (approximately two times bigger than your memory size) for swapping that's filled with zeroes by copying it from /dev/zero (that is a special device where zeroes are kept for further usage) with dd command. After that you'll have to find swapon command in your scripts (guess it was in rc.sysinit in RH) and make it turn your swap file on on start up OR (better) edit your /etc/fstab and put the appropriate line that your swap file is on by swapon -a command.
Err... Not very clear? Than do
man swapon
man swapoff
man kswapd
man dd
man fstab
...ad finitum
--- End quote ---
I'll see if I can make any sense of that... Thanks for your help
Navigation
[0] Message Index
[*] Previous page
Go to full version