Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
![Reply](https://www.linuxquestions.org/questions/images/buttons/reply.gif) |
07-31-2003, 03:32 AM
|
#1
|
LQ Newbie
Registered: Jul 2003
Posts: 12
Rep:
|
need for swap partition?
what is the need of swap partition in linux.as far as i know every os uses the hard disk for swapping pages then why do i require a separate swap partition for linux.
|
|
|
07-31-2003, 04:42 AM
|
#2
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637
Rep: ![Reputation: Disabled](https://www.linuxquestions.org/questions/images/reputation/reputation_off.gif)
|
A partition is on the hard disk, it's just a compartiment or logical drive, which would get a drive letter of it's own under windows ... so for all practical purposes it is a hard drive.
|
|
|
07-31-2003, 04:58 AM
|
#3
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
As I understand it the swap partition gives a performance advantage over having a swap file on a normal partition as you don't have the extra file system layer that need processing between read/writes. The swap partition is the filesystem if you see what I mean.
Welcome to LinuxQuestions!
cheers
Jamie...
|
|
|
07-31-2003, 12:49 PM
|
#4
|
Member
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421
Rep:
|
Sorry for the interruption but I have a simple question regarding swap partition, too. If I am to install 2 distros on the same machine, is one swap partition enough for me or do I have to make 2 of them?
|
|
|
07-31-2003, 12:54 PM
|
#5
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
They can share the swap partition without any problem.
cheers
Jamie...
|
|
|
07-31-2003, 12:57 PM
|
#6
|
LQ Newbie
Registered: Mar 2003
Posts: 24
Rep:
|
the swap file is used as "ram" once your ram is full
on most newer systems this isnt an issue with linux
its more of an issue with windows due too the poor memory management
the swap file came in handy back in the day when ram was really expensive
debian for example will allow you to procede with the install without a swap
the distro i use i set my swap so small its really of no use
but at a gig of ram ill never fill it up
|
|
|
07-31-2003, 01:07 PM
|
#7
|
Member
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421
Rep:
|
Thanks ![Smilie](https://www.linuxquestions.org/questions/images/smilies/smile.gif)
|
|
|
07-31-2003, 01:26 PM
|
#8
|
LQ Guru
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153
Rep:
|
I only have 512 mb and I never used more then 300.
|
|
|
All times are GMT -5. The time now is 12:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|