diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2013-10-18 13:36:05 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2013-10-18 13:36:05 +0000 |
commit | f32ebaaae8913bf6b697f71cdcc02b7f2a119cdc (patch) | |
tree | 26ba00354b4c3ffdb0c2906ef6b47f970e97c05e | |
parent | 044fd8dde02ddada7569833de2dc551a89842c4f (diff) |
allow more space for swap with big disks, useful for hibernation;
requested by deraadt@
-rw-r--r-- | sbin/disklabel/editor.c | 4 |
1 files 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 <Todd.Miller@courtesan.com> @@ -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" }, |