LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Need to create a swap partition (https://www.linuxquestions.org/questions/linux-general-1/need-to-create-a-swap-partition-348303/)

dotancohen 07-30-2005 07:44 AM

Need to create a swap partition
 
I didn't creat a swap partition when I installed FC4. As I have 512mb of ram, I want to allocate 1 gig from /home (which IS a seperate partition) to /swap. I have looked around on LinuxQuestions, google, and the mailing list archives, but have not found how to do this. Thanks.

Dotan Cohen
http://www.song-lirics.com
Song Lirics

abisko00 07-30-2005 08:09 AM

Although this is for RH8, it should work for you as well: http://www.redhat.com/docs/manuals/l...ap-adding.html

The decision you have to make if whether you want a swap file or a swap partition. A swap file can be realized without resizing your home partition. However, I don't know anything about the differences in performance.

syg00 07-30-2005 11:18 AM

That link looks like it covers everthing.
Prior to 2.6, using a swap file was considered a "second rate" solution.
The 2.6 developers have stated they don't believe there is a (performance) difference any more.

dotancohen 07-30-2005 12:30 PM

Thank you very much. I'll get to work on that now.

Concerning performance, on the Fedora mailing list I was refered to this article that states that there is no performance difference. However, I will try to go with the partition instead of the file.
http://groups.google.com/group/fa.li...bb9d44ece78faf


Dotan Cohen
http://song-lirics.com/sl/artists.php/m

syg00 07-30-2005 12:39 PM

If you are to believe just one person on this topic, Andrew Morton is *the* man.
I use only partitions - probably habit/history more than any other reason.


All times are GMT -5. The time now is 05:51 AM.