Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2005 10:15:36 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        David O'Brien <obrien@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Combined root, /var and /usr (was: cvs commit: src/sys/conf kern.post.mk)
Message-ID:  <20050913004536.GK53486@wantadilla.lemis.com>
In-Reply-To: <20050912165518.GA94181@dragon.NUXI.org>
References:  <20050911002229.51F4916A471@hub.freebsd.org> <432382BC.5080105@root.org> <200509110310.36423@harrymail> <43255152.3000609@freebsd.org> <20050912165518.GA94181@dragon.NUXI.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--73fGQZLCrFzENemP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Monday, 12 September 2005 at  9:55:18 -0700, David O'Brien wrote:
> On Mon, Sep 12, 2005 at 02:58:42AM -0700, Colin Percival wrote:
>> Emanuel Strobl wrote:
>>> Hmm, why was default size of root changed to 500M?
>>
>> Because I was increasing the sizes of /tmp and /var at the same time; be=
cause
>> I know that some users do somehow manage to fill up /; and because re@ t=
old
>> me to. :-)
>
> Perhaps we should follow what SGI and Sun has done for years on its
> workstations: a combined / + /var + /usr.=20

I've been recommending and doing this for years.  FWIW in the fourth
edition of "The Complete FreeBSD" I recommended 4 to 6 GB; I'd now say
that 8 to 10 is better.  I also recommend a separate /var if you're
doing important things with it.  Here's what I have on my two main
machines:

=3D=3D=3D root@wantadilla (/dev/ttyp0) ~ 98 -> df
Filesystem     1048576-blocks   Used Avail Capacity  Mounted on
/dev/ad0s1a              9912   4211  4908    46%    /
/dev/ad0s3h             51895  41842  5902    88%    /home

=3D=3D=3D root@echunga (/dev/ttyp4) ~ 29 -> df
Filesystem        1048576-blocks   Used Avail Capacity  Mounted on
/dev/ad0s1a                14873   7985  5698    58%    /
/dev/ad0s1g                 9916   3846  5276    42%    /home
/dev/ad2s1h               188356 106658 66629    62%    /src

/src contains source files, including multiple FreeBSD source trees.
I see that on echunga / is now 15 GB, but that includes a large /var,
and it's still only just on 8 GB.

> We would make it 15GB and be done with it.  My laptop has a combined
> /+/var+/usr of 12GB and I have multiple kernels installed and room
> in swap for a crashdump.

Note that this could also mean that you don't need to install the
kernel; if you build it in /usr (on the root file system), you can
link to it directly in the kernel build directory.

> No need to reply you hate this idea - just one opinion that there
> are other partitioning schemes (especially now that we have a
> dynamic /) successfully used.

In CFBSD IV I explain how / and /usr came to be: about 32 years ago,
they had / on an RK03 (0.5 MB), so they *had* to put the rest of the
system somewhere else.  The fact that we still use a separate /usr has
something to do with the reliability of the Seventh Edition file
system and something to do with not changing the way our grandfathers
did things (writing "return (FOO)" instead of "return FOO" is
another example).

Greg
--
See complete headers for address and phone numbers.

--73fGQZLCrFzENemP
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFDJiEwIubykFB6QiMRAjowAJ9xzjRFV3kQkZUg/Cxc+dqw9p6q5gCbBp61
F5Of4TbNtovstZQJ7b6/khA=
=GClK
-----END PGP SIGNATURE-----

--73fGQZLCrFzENemP--



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