summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authormbuhl <mbuhl@cvs.openbsd.org>2022-06-25 19:19:40 +0000
committermbuhl <mbuhl@cvs.openbsd.org>2022-06-25 19:19:40 +0000
commit8efe4b25b837784a87c1e7021efea2636251dce7 (patch)
tree30c297fcc614cfa578a6b9f0aee749a459278693 /sbin
parentf0ed3e6304f64614c24515d2c3519ca60e31067f (diff)
Increase the auto partitioner's maximum /usr size to 30G.
OK bluhm, otto, deraadt
Diffstat (limited to 'sbin')
-rw-r--r--sbin/disklabel/disklabel.86
-rw-r--r--sbin/disklabel/editor.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/sbin/disklabel/disklabel.8 b/sbin/disklabel/disklabel.8
index b214985e1a6..1dadd42725d 100644
--- a/sbin/disklabel/disklabel.8
+++ b/sbin/disklabel/disklabel.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: disklabel.8,v 1.146 2022/03/31 17:27:19 naddy Exp $
+.\" $OpenBSD: disklabel.8,v 1.147 2022/06/25 19:19:39 mbuhl 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 31 2022 $
+.Dd $Mdocdate: June 25 2022 $
.Dt DISKLABEL 8
.Os
.Sh NAME
@@ -529,7 +529,7 @@ and may vary from architecture to architecture.
swap 10% of disk. 80M \(en 2x max physical memory
/tmp 8% of disk. 120M \(en 4G
/var 13% of disk. 80M \(en 4G + 2x size of crash dump
-/usr 10% of disk. 1500M \(en 6G
+/usr 10% of disk. 1500M \(en 30G
/usr/X11R6 3% of disk. 384M \(en 1G
/usr/local 15% of disk. 1G \(en 20G
/usr/src 2% of disk. 1500M \(en 3G
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c
index 295e412ca0b..c5c81802ce9 100644
--- a/sbin/disklabel/editor.c
+++ b/sbin/disklabel/editor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: editor.c,v 1.371 2022/02/14 16:10:45 krw Exp $ */
+/* $OpenBSD: editor.c,v 1.372 2022/06/25 19:19:39 mbuhl Exp $ */
/*
* Copyright (c) 1997-2000 Todd C. Miller <millert@openbsd.org>
@@ -92,7 +92,7 @@ struct space_allocation alloc_big[] = {
{ MEG(80), MEG(256), 10, "swap" },
{ MEG(120), GIG(4), 8, "/tmp" },
{ MEG(80), GIG(4), 13, "/var" },
- { MEG(1500), GIG(6), 10, "/usr" },
+ { 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" },