From f32ebaaae8913bf6b697f71cdcc02b7f2a119cdc Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Fri, 18 Oct 2013 13:36:05 +0000 Subject: allow more space for swap with big disks, useful for hibernation; requested by deraadt@ --- sbin/disklabel/editor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c index 665ca82d30b..491a96a6944 100644 --- a/sbin/disklabel/editor.c +++ b/sbin/disklabel/editor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: editor.c,v 1.274 2013/10/15 20:13:02 bluhm Exp $ */ +/* $OpenBSD: editor.c,v 1.275 2013/10/18 13:36:04 otto Exp $ */ /* * Copyright (c) 1997-2000 Todd C. Miller @@ -71,7 +71,7 @@ struct space_allocation { /* entries for swap and var are changed by editor_allocspace() */ const struct space_allocation alloc_big[] = { { MEG(80), GIG(1), 5, "/" }, - { MEG(80), MEG(256), 5, "swap" }, + { MEG(80), GIG(16), 5, "swap" }, { MEG(120), GIG(4), 8, "/tmp" }, { MEG(80), GIG(4), 13, "/var" }, { MEG(900), GIG(2), 5, "/usr" }, -- cgit v1.2.3