Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: increase /usr/src partition
To:
jan@openbsd.org
Cc:
tech@openbsd.org
Date:
Fri, 22 Mar 2024 08:05:50 -0600

Download raw body.

Thread
Seems reasonable.

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 */
>