to make an 8 meg swap file called swap1 in the current directory: dd if=/dev/zero of=swap1 bs=1024 count=8192 mkswap swap1 8192 sync swapon swap1
But swap files are slower and can potentially cause problems, so swap partitions are prefered. Just make the swap partition large enough that you don't need a swap file for normal use (only experience and a lot of free commands can tell you how big this is). Then only add the swap files when the system under higher than normal load. I think there is a program that adds swap when needed automatically, but this just adds more load to a system, and if I was ever in need of squeezing every bit out of this harddrive, I'd delete the .75 gig mirror I have sitting around :-) HTH, Brandon ----- Brandon Mitchell E-mail: [EMAIL PROTECTED] Homepage: http://www.geocities.com/SiliconValley/7877/home.html "We all know Linux is great...it does infinite loops in 5 seconds." --Linus Torvalds On Sat, 5 Jul 1997 [EMAIL PROTECTED] wrote: > > So your saying that I should acutally have a bigger swap... I remember > when partitioning the HD I wondered about how much I should use. I > don't recall seeing anything that suggested the swap partition size... > > Ok So its back to start over..... Or can I reduce the /usr partition > and add that to my swap partition with out effecting anything. > Normally on DOS you can't do that... -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .