LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-08-2006, 03:20 PM   #1
mooredan
LQ Newbie
 
Registered: Sep 2003
Posts: 1

Rep: Reputation: 0
How many partitions?


I've seen systems set up with the hard disk(s) set up in many different partitions. For example, a separate partition being used for /usr, /tmp, /usr/local, ....

I've also seen one partition used.

Personally, I prefer the single partition method. What sort of problems might I encounter with this approach? ...Why would I want separate partitions?

Opinions?

Thanks.

Dan
 
Old 05-08-2006, 05:03 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,981

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
It depends on what you are doing. For example, on a server, /var can fill up with a lot of log messages so I would use a seperate /var partition so / doesn't get filled up as that can bring the server down. In a multiuser environment, I might make a seperate /home partition just to ease certain backup and maintainance tasks. But for a single user not running a server, I see nothing wrong with having just a root and a swap partition.
 
Old 05-08-2006, 05:21 PM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
At minimum, have a separate /home partition. Personally, I use about 4 separate ones for my multi-user (family) PC, but that only because I like to set it up like a 'professional' workstation.

The most important reason for maintaining /home separately is that in case of a hard drive failure, when you don't have a fresh backup (never happen, right?), there is a good chance that your /home partition will still be readable, and therefore rescuable. It's easy enough to reinstall an OS ... data? not so easy. I do the same thing on my Windows machines. 12 gigs or so for OS and programs, and a separate partition for data. Has saved my butt 3 or 4 times over the years.
 
  


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
/proc/partitions showing wrong partitions netstv Linux - General 1 07-10-2006 02:11 PM
Extended partitions? Location of partitions? General Linux - Hardware 13 05-03-2006 03:01 PM
more than 2 partitions merchtemeagle DamnSmallLinux 4 12-16-2005 05:03 PM
Partitions dark_light Linux - General 3 07-21-2004 10:09 AM
Create software RAID partitions first, then create filesystem partitions on top of th stefanlasiewski Linux - Software 1 04-28-2004 05:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:27 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
Open Source Consulting | Domain Registration