LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 07-21-2001, 09:25 AM   #16
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45

Quote:
Originally posted by ct3
what's the difference between partition and directory to /usr? or /boot...
It's kind of like a partition on a Windows system, but better. If you have one drive with three partitions on it you will have C:, D:, and E: drives. If you added another drive, with one big partition it would enumerate as drive F:.

In *NIX you could just mount all those partitions under the / tree. Plus as mentioned before you can use various mount options (user access, different file system types)
 
Old 07-21-2001, 06:54 PM   #17
Colonel Panic
Member
 
Registered: Jul 2001
Location: California
Distribution: Red Hat 7.1, Slackware 8.0
Posts: 216

Original Poster
Rep: Reputation: 30
One more question. WHAT IS PAGING SPACE? Do I need it, and if so, then how much should I have? How can I get it?

*****Colonel Panic*****
 
Old 07-24-2001, 12:58 AM   #18
mcmunt
LQ Newbie
 
Registered: Jul 2001
Location: South Pacific
Distribution: RH 7.3
Posts: 6

Rep: Reputation: 0
Paging space or a "swapfile" is like the paging file on a Windows system. Not all the dynamic memory needed can come from your RAM, especially if you want to play all your games, listen to mp3s and run Gimp.
So what happens is the system uses this "swapfile" as extra memory - like simulated RAM. Once the normal RAM is starting to get full things start getting "swapped" to this area on your hard drive. When the system needs the info again, it swaps places with something in RAM again.
Unfortunately on some Windows systems if both RAM and the paging file are too full then you get a BSOD.
Most Linux installs make the swapfile on it's on space on the harddrive ie. it has it's own partition. If you go to a terminal on Linux and type "top" then you should see how much RAM and swapfile are being used.

Cheers
 
Old 07-24-2001, 01:06 AM   #19
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
ummm... guru's correct me if i'm wrong here, but isn't the paging space the swap partition on the hard drive? it's supposed to be about twice the size of your physical memory.
 
Old 07-24-2001, 08:11 PM   #20
Colonel Panic
Member
 
Registered: Jul 2001
Location: California
Distribution: Red Hat 7.1, Slackware 8.0
Posts: 216

Original Poster
Rep: Reputation: 30
Um, I think this is what he (non gender) is saying. Isn't a swapfile the same is the swap? I believe that he(non gender) is saying that the paging space IS the swap space. Is there a limit to how much paging space you can have? Like, if you have too much, will you get a kernel panic? I tried linux for windows (that's back in the day when I didn't know anything about computers.), put a HUGE swap space, rebooted, and couldn't boot into linux because I got a kernel panic!

*****Colonel Panic*****
 
Old 07-24-2001, 09:55 PM   #21
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
the /usr needs to be able to grow, almost everything you will install later will likely go there. For this reason it should be left under a partition called / with lots of space. If you make it a partition you will most likely limit it's size in doing so. In the mean time until the space is needed it can be used by other folders in /



Once you partition you limit the size and or limit the use of free space.

Last edited by DavidPhillips; 07-24-2001 at 09:57 PM.
 
Old 07-24-2001, 10:13 PM   #22
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I have seen it written not to exceed 128MB on a swap partition. I don't know why and this is probably old stuff. When I installed RH 7.1 with 256 MB ram it created a swap size of 529160 which is about double.
 
Old 07-25-2001, 07:29 AM   #23
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Quote:
Originally posted by isajera
ummm... guru's correct me if i'm wrong here, but isn't the paging space the swap partition on the hard drive? it's supposed to be about twice the size of your physical memory.
When you are told to make your swap about twice the size of your physical memory this normally assumes that you have an amount of physically memory in a real server somewhere thats been worked out against the needs of your users and their averge process requirements etc... if this is a home system then have as much or as little swap as you need. My machine with 256MB of physical doesn't have any swap, just becuase I never end up using the whole 256MB... There a 128MB swap partition there somewhere but its never been swapponed (yet)...

cheers

Jamie...
 
Old 07-27-2001, 04:15 PM   #24
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Quote:
Originally posted by Colonel Panic
Um, I think this is what he (non gender) is saying. Isn't a swapfile the same is the swap? I believe that he(non gender) is saying that the paging space IS the swap space. Is there a limit to how much paging space you can have? Like, if you have too much, will you get a kernel panic? I tried linux for windows (that's back in the day when I didn't know anything about computers.), put a HUGE swap space, rebooted, and couldn't boot into linux because I got a kernel panic!

*****Colonel Panic*****
Linux can have up to 8 different swap partitions each having up to 2 GB.
The grand total of swap space is not 8 GB but 4 GB, I'm not 100% sure of 4 GB but it is less than 8 GB.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about /usr/include/bits/typesizes.h stefaandk Linux - General 2 07-21-2005 07:30 PM
Question about /usr/src/redhat/RPMS/subdirs stefaandk Fedora 1 06-23-2005 02:23 AM
/usr question dimsun Linux - Newbie 2 11-04-2004 08:49 AM
question on usr/include/asm/module.h kmack2001 Linux - Newbie 0 02-14-2004 10:40 PM
Question reguarding /usr/loca/bin and 'linking' Cecil Linux - Software 6 06-25-2003 02:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration