From 4dc0ad4dbe242513356511aad04f33c255e35360 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 15 Mar 2026 15:16:12 +0000 Subject: [PATCH] auto-partitioning of /usr/obj has become a bit small on at least amd64, where there's no room for the entire build and a few manual debugging library builds. grow it for future system installs ok otto --- sbin/disklabel/disklabel.8 | 6 +++--- sbin/disklabel/editor.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sbin/disklabel/disklabel.8 b/sbin/disklabel/disklabel.8 index e1ae60b6975..f745f5fe6b5 100644 --- a/sbin/disklabel/disklabel.8 +++ b/sbin/disklabel/disklabel.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: disklabel.8,v 1.157 2024/03/22 21:49:52 jan Exp $ +.\" $OpenBSD: disklabel.8,v 1.158 2026/03/15 15:16:12 deraadt Exp $ .\" $NetBSD: disklabel.8,v 1.9 1995/03/18 14:54:38 cgd Exp $ .\" .\" Copyright (c) 1987, 1988, 1991, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)disklabel.8 8.2 (Berkeley) 4/19/94 .\" -.Dd $Mdocdate: March 22 2024 $ +.Dd $Mdocdate: March 15 2026 $ .Dt DISKLABEL 8 .Os .Sh NAME @@ -501,7 +501,7 @@ Ta \0\01GB \(en \020GB Ta Ta Ta .It Sy /usr/src \ Ta \0\02GB \(en \0\05GB Ta Ta Ta .It Sy /usr/obj \ -Ta \0\05GB \(en \0\06GB Ta Ta Ta +Ta \0\08GB \(en \0\10GB Ta Ta Ta .El .Pp The diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c index 015c29d9ed2..89d4e879fa1 100644 --- a/sbin/disklabel/editor.c +++ b/sbin/disklabel/editor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: editor.c,v 1.427 2025/12/16 01:42:43 jsg Exp $ */ +/* $OpenBSD: editor.c,v 1.428 2026/03/15 15:16:12 deraadt Exp $ */ /* * Copyright (c) 1997-2000 Todd C. Miller @@ -98,7 +98,7 @@ struct space_allocation alloc_big[] = { { MEG(384), GIG(1), 3, "/usr/X11R6" }, { GIG(1), GIG(20), 15, "/usr/local" }, { GIG(2), GIG(5), 2, "/usr/src" }, - { GIG(5), GIG(6), 4, "/usr/obj" }, + { GIG(8), GIG(10), 4, "/usr/obj" }, { GIG(1), GIG(300), 30, "/home" } /* Anything beyond this leave for the user to decide */ };