From 97f090a44308bc1c27b5a5ae6e960ba79749240d Mon Sep 17 00:00:00 2001 From: solene Date: Fri, 21 Sep 2018 14:07:34 +0000 Subject: [PATCH] Increase /usr/local max size to 20 GB in default template ok krw@ deraadt@ jca@ --- 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 248a2ca4264..ff87b447f14 100644 --- a/sbin/disklabel/disklabel.8 +++ b/sbin/disklabel/disklabel.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: disklabel.8,v 1.128 2018/09/19 18:35:21 bluhm Exp $ +.\" $OpenBSD: disklabel.8,v 1.129 2018/09/21 14:07:34 solene 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: September 19 2018 $ +.Dd $Mdocdate: September 21 2018 $ .Dt DISKLABEL 8 .Os .Sh NAME @@ -512,7 +512,7 @@ swap 10% of disk. 80M \(en 2x max physical memory /var 13% of disk. 80M \(en 2x size of crash dump /usr 5% of disk. 900M \(en 2G /usr/X11R6 3% of disk. 384M \(en 1G -/usr/local 15% of disk. 1G \(en 10G +/usr/local 15% of disk. 1G \(en 20G /usr/src 2% of disk. 1300M \(en 2G /usr/obj 4% of disk. 5G \(en 6G /home 35% of disk. 1G \(en 300G diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c index 28dc5329492..caff7b58089 100644 --- a/sbin/disklabel/editor.c +++ b/sbin/disklabel/editor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: editor.c,v 1.350 2018/09/18 13:53:09 bluhm Exp $ */ +/* $OpenBSD: editor.c,v 1.351 2018/09/21 14:07:34 solene Exp $ */ /* * Copyright (c) 1997-2000 Todd C. Miller @@ -88,7 +88,7 @@ struct space_allocation alloc_big[] = { { MEG(80), GIG(4), 13, "/var" }, { MEG(900), GIG(2), 5, "/usr" }, { MEG(384), GIG(1), 3, "/usr/X11R6" }, - { GIG(1), GIG(10), 15, "/usr/local" }, + { GIG(1), GIG(20), 15, "/usr/local" }, { MEG(1300), GIG(2), 2, "/usr/src" }, { GIG(5), GIG(6), 4, "/usr/obj" }, { GIG(1), GIG(300), 35, "/home" } -- 2.20.1