Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 May 1998 11:46:45 +0930
From:      Greg Lehey <grog@lemis.com>
To:        MIKE JENKINS <jenkins.mike@epamail.epa.gov>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Writable /usr?
Message-ID:  <19980508114645.C12200@freebie.lemis.com>
In-Reply-To: <s551e442.042@wpmail.gbr.epa.gov>; from MIKE JENKINS on Thu, May 07, 1998 at 04:40:41PM -0500
References:  <s551e442.042@wpmail.gbr.epa.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu,  7 May 1998 at 16:40:41 -0500, MIKE JENKINS wrote:
> On Thu, 7 May 1998 09:20:35 +0930, Greg Lehey <grog@lemis.com> wrote:
>
>> Having many partitions is Evil.  It increases the likelihood that you
>> will run out of space on one partition while having enough space on
>> the disk.
>
> If you really believed this, you'd have a / and swap partition only.
> It'd be just like the DOS/Win/NT folks with the C: drive.

If you want me to read a reply, please copy me personally.  I delete
most messages without reading them, unless they are flagged as
"personal".

I do really believe this, of course, or I wouldn't have written it.
Your statement begs the question why you think I wrote it.  In fact, I
use /, swap and /usr on my first disk.  The reason for the split is
because I have a writeable /usr partition.  All other disks have only
a single partition:

Filesystem  1024-blocks     Used    Avail Capacity  Mounted on
/dev/wd0s1a       30206    24322     3468    88%    /
/dev/wd0s1e     1152422   964780    95450    91%    /usr
/dev/sd0e       2047824  1762228   121771    94%    /src
/dev/sd1h       2047732  1715965   167949    91%    /home
/dev/sd2e       3866510  3434716   122474    97%    /S
procfs                4        4        0   100%    /proc
/dev/cd4a        530578   530578        0   100%    /cdrom/5
/dev/cd5a        576386   576386        0   100%    /cdrom/6
/dev/cd0a        600108   600108        0   100%    /cdrom/1
/dev/wd2s1e     6051541  4808834   758584    86%    /T

I don't see how this makes the system like Microsoft.

> By default the install wants a /, swap, /var, and /usr.  These are where
> the OS goes.

Well, the OS goes on / and /usr.

> Size these appropriately for the usage of your machine and then add
> a /home for the user files.  This should work fine for most
> installs.  More complex installers know what they are doing and will
> add partitions like /usr/src, /usr/local, /var/spool/news, multiple
> swaps/roots, etc.

Well, it's my contention that more complex installers who know what
they are doing will not add partitions gratuitously.  I stand by the
statement at the top: having many partitions is Evil.  It increases
the likelihood that you will run out of space on one partition while
having enough space on the disk.

About the only exception here is the split between the root file
system, which could well be read only, and the rest of the first disk.
As you can see, I put /usr on the rest (and link /var to /usr/var).
One alternative might be to put /usr and all subdirectories which
normally don't get written on the root file system, and make the
others (such as /usr/share/man/cat*) links to somewhere else.

Greg
--
See complete headers for address and phone numbers
finger grog@lemis.com for PGP public key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980508114645.C12200>