LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-26-2004, 03:51 AM   #1
cranky
Member
 
Registered: Oct 2004
Location: Sydney
Distribution: Slackware 10
Posts: 63

Rep: Reputation: 15
Another Partition Q. /dev related


I want to move my main system on Slack and want to get the partitions exactly right. I have installed Slack on a spare box with the intention of isolating root and preventing it from growing in size. What I did was:

/ 700MB
swap 1GB
/usr 15GB
/home 10GB
/var 1GB
/tmp 1GB

Q1. Now, I noticed that the /dev folder is the biggest one left. What goes in there and how large can it grow? Currently it is 288MB. A large chunk of root so I was thinking partition that as well.

Q2. What is /proc and how big can that one grow as well? Is it wise to partition this and what size?

Q3. How big can /var and /tmp grow and is 1GB too much considering long term usage?

Q4. Would the following be a good solution?

/ xMB
swap 1GB
/usr 20GB
/home 40GB
/var 512MB
/tmp 512MB
/dev 512MB
/proc 512MB
FAT32 2GB

Total 65GB + xMB

Q5. Regarding root in Q4, how big should I make root and what can bloat it beyod xMB?

Q6. I was going to make root the only Primary partition and the rest logical. Is there a problem with this?

Q7. What is the benifit in making a /boot partition and is it advisable? If so, how big should I make it?

Thanks in advance
 
Old 10-26-2004, 04:44 AM   #2
cranky
Member
 
Registered: Oct 2004
Location: Sydney
Distribution: Slackware 10
Posts: 63

Original Poster
Rep: Reputation: 15
After a bit more reading up I have another question

Q8. I will be using Slack for gaming among other things. I read somewhere that some games and other programs might install in the /opt folder. Is there a way to prevent them from installing in there and use /usr for all programs or do I have to make an /opt partition as well?

Q9. Last one, I promise. For now. Can I get away with only the root partition as a Primary or should I create any others as Primary?

cheers
 
Old 10-26-2004, 04:50 AM   #3
rotvogel
Member
 
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
Q1: it is static
Q2: /proc contains information about your computer, I don't think it will grow a lot after booting, files are created automaticly in /proc
Q3: /var - most log files, watch files that are not rotated automatic, it can grow quite big, logfiles, mail, etc
/tmp can grow during the usage of the computer and depends on what you are doing and the software you are using , I think 1 GB is a too small.
Q4: no, I would prefer this:
/home - 40 GB (good idea to make this a seperate partition
FAT 32 - 2 GB (whatever you want)
/ - rest to avoid all kinds of trouble
I don't see the point of all these small partitions. That way you are making your life more difficult than needed, and more partitions will consume more space. And what is the advantage ? I don't see any.
Q5: see Q4 and I don't understand your question, sorry ...
Q6: No that's fine
Q7: a seperate /boot partition can be left unmounted so your kernel is more safe (user errors, disk crashing) , but basicly it is what you want. 1 kernel will take about 2 MB so you can calculate how much space you want to address for it.
Q8: KDE packages in Slackware are installed in /opt. You could just create a symlink to /usr or /usr/local .
Q9: see Q6

You're welcome :P

Last edited by rotvogel; 10-26-2004 at 04:53 AM.
 
Old 10-26-2004, 04:55 AM   #4
rotvogel
Member
 
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
Don't forget the swap partition
 
Old 10-26-2004, 05:49 AM   #5
cranky
Member
 
Registered: Oct 2004
Location: Sydney
Distribution: Slackware 10
Posts: 63

Original Poster
Rep: Reputation: 15
muchas gracias

Quote:
Originally posted by rotvogel
Q7: a seperate /boot partition can be left unmounted so your kernel is more safe (user errors, disk crashing) , but basicly it is what you want. 1 kernel will take about 2 MB so you can calculate how much space you want to address for it.
Q8: KDE packages in Slackware are installed in /opt. You could just create a symlink to /usr or /usr/local .
Q7. So create a partition but leave it unmounted? Not sure how this is done.

Q8. Not sure about this either.

hmm
 
Old 10-26-2004, 05:54 AM   #6
cranky
Member
 
Registered: Oct 2004
Location: Sydney
Distribution: Slackware 10
Posts: 63

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by rotvogel

Q4: no, I would prefer this:
/home - 40 GB (good idea to make this a seperate partition
FAT 32 - 2 GB (whatever you want)
/ - rest to avoid all kinds of trouble
I don't see the point of all these small partitions. That way you are making your life more difficult than needed, and more partitions will consume more space. And what is the advantage ? I don't see any.
Now I get it at least. Partition the /home so that it can be scalvaged if something bad happens or if I want to upgrade to Slack 11 and stuff the rest in one big partition to avoid problems and housekeeping.
 
Old 10-26-2004, 05:56 AM   #7
rotvogel
Member
 
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
Q7: in /etc/fstab (example) :
Code:
/dev/hda1        /boot            ext2       noauto           1   2
Q8: If you are using only one big / partition it is not needed, otherwise you can create a symlink named /opt which points to /usr or /usr/local
 
  


Reply



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
/dev/hdxx = partition name rblampain Linux - General 2 08-02-2005 11:27 PM
/dev/hda-1 partition tcma Linux - General 3 09-08-2004 08:31 AM
Information related to RAW partition RajaRC Red Hat 4 11-06-2003 10:18 PM
Information related to RAW partition RajaRC Linux - General 1 09-26-2003 05:41 PM
BLFS: XFree86; TDFX(0) Cannot open /dev/mem. And some other related questions SparceMatrix Linux From Scratch 1 06-14-2003 02:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:40 PM.

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
Open Source Consulting | Domain Registration