public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Ray Olszewski <ray@comarre.com>
To: linux-newbie@vger.kernel.org
Subject: Re: partitioning
Date: Sun, 25 Jan 2004 08:42:54 -0800	[thread overview]
Message-ID: <5.1.0.14.1.20040125083200.01fa3928@celine> (raw)
In-Reply-To: <200401252137.39975.wheds8@ms66.hinet.net>

At 09:37 PM 1/25/2004 +0800, S. Barret Dolph wrote:
>I am probably getting too picky about repartitioning my drive but I want 
>it to
>be set up for a long time. I never use all the space in my harddrive even
>though it is relatively small. (I only use it for work and don't play any
>games.)
>
>Questions......
>
>My old setup
>
>sda1    /               1g
>sda5            /swap   1024k  (512ram)
>sda6            /usr            6g
>sda7            /home   10g
>
>I will be using Sourcemage which puts sources in /var so I have been thinking
>about taking 3g out of home and making a /var of 3g.
>
>  I will probably take another 3 out of home and add it to usr/ but that is
>probably overkill. Neither use too much.
>
>I am confused about where /swap should go. I have a SCSI drive and from 
>what I
>read that should be on the outside. So should I put /swap at sda8? (Given
>that I have added /var.)
>
>I had a /home because it was convenient to upgrade with CD's when I only 
>had a
>56 modem. Now that I am using a source based installation is the /home
>unnecessary as I am the only user.
>
>Is having a /tmp partition necessary?

Questions of the sort you pose here are hard to answer because they do not 
really have "right" answers. The best partitioning strategy for a specific 
system depends on the anticipated uses for that system, the distro 
involved, specifics of its hardware, and probably yhe personal style of the 
person who will admin it.

My own preference, just as an example, is to minimize partitioning, to 
avoid later needs to repartition when my needs change. So for a 1-drive 
system, I typically do something like this --

         hda1 = small (50 MB or so) partition, mounted at /boot
         hda2 = midsize (256-1024 MB) partition, used as swap
         hda3 = rest of disk, mounted as / (root partitionj)

Sometimes I use a 4-partition setup, varying the above as

         hda3 = between 10 GB and 20 GB, mounted as /
                 (depends a lot on the size of the drive, of course)
         hda4 = rest of disk, mounted as /home

But even there I have systems that depart from those rules ... and, of 
course, multi-drive systems get more complex. But I never find it desirable 
to set up separate partitions for /usr, /var, and /tmp ... I've found that 
making them separate just introduces more opportunities for things to go wrong.

That's just me, though ... this is an area where reasonable people come to 
different comculsions about the best approach.



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  parent reply	other threads:[~2004-01-25 16:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-25 13:37 partitioning S. Barret Dolph
2004-01-25 16:08 ` partitioning chuck
2004-01-25 16:42 ` Ray Olszewski [this message]
2004-01-25 16:53   ` partitioning S. Barret Dolph
2004-01-26  0:27 ` partitioning Ken Moffat
2004-01-26 15:04   ` partitioning Hal MacArgle
2004-01-26 17:16     ` partitioning Ken Moffat
2004-01-27 19:16       ` partitioning Hal MacArgle
2004-01-27 20:19         ` partitioning pa3gcu
  -- strict thread matches above, loose matches on Subject: below --
2005-04-07 14:32 Partitioning Mike Turcotte
2005-04-07 16:02 ` Partitioning smertz
2005-04-07 16:50   ` Partitioning James Miller
2005-04-07 14:18 Partitioning smertz
2002-08-10  0:58 Partitioning Natarajan K
2002-08-09 15:52 ` Partitioning Ray Olszewski
2002-08-09 18:31 ` Partitioning Riley Williams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.1.0.14.1.20040125083200.01fa3928@celine \
    --to=ray@comarre.com \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox