Index | Thread | Search

From:
Otto Moerbeek <otto@drijf.net>
Subject:
Re: increase /usr/src partition
To:
Theo de Raadt <deraadt@openbsd.org>
Cc:
jan@openbsd.org, tech@openbsd.org
Date:
Fri, 22 Mar 2024 15:15:41 +0100

Download raw body.

Thread
On Fri, Mar 22, 2024 at 08:05:50AM -0600, Theo de Raadt wrote:

> Seems reasonable.
> 
> otto?

yes, but there's also a man page and a regression test

	-Otto

> 
> jan@openbsd.org wrote:
> 
> > Hi,
> > 
> > the minimum size of /usr/src is too small for a cvs src checkout.  Thus,
> > we have to increase it.  I also like to increase the maximum size.  So,
> > a git checkout of src also fit into this partition on a larger disks.
> > 
> > A current cvs checkout of src is about 1.7 GByte.
> > A current git checkout of src is about 3.1 GByte.
> > 
> > ok?
> > 
> > bye,
> > jan
> > 
> > Index: editor.c
> > ===================================================================
> > RCS file: /cvs/src/sbin/disklabel/editor.c,v
> > diff -u -p -r1.417 editor.c
> > --- editor.c	6 Sep 2023 12:45:19 -0000	1.417
> > +++ editor.c	21 Mar 2024 22:35:25 -0000
> > @@ -97,7 +97,7 @@ struct space_allocation alloc_big[] = {
> >  	{ MEG(1500),        GIG(30),  10, "/usr"	},
> >  	{  MEG(384),         GIG(1),   3, "/usr/X11R6"	},
> >  	{    GIG(1),        GIG(20),  15, "/usr/local"	},
> > -	{ MEG(1500),         GIG(3),   2, "/usr/src"	},
> > +	{    GIG(2),         GIG(5),   2, "/usr/src"	},
> >  	{    GIG(5),         GIG(6),   4, "/usr/obj"	},
> >  	{    GIG(1),       GIG(300),  30, "/home"	}
> >  	/* Anything beyond this leave for the user to decide */
> > 
>