PR misc/54886: bump threshold for automatic/default creation of a tmpfs /tmp

up slightly (to 384 MB ram). This will make sure the default install has
a > 64 MB /tmp available (number pulled out of thin air, 64 MB is the minimum
required by the ZFS tests).
This commit is contained in:
martin 2020-03-16 06:48:17 +00:00
parent bf60b623f3
commit 989c6e9048

View File

@ -1,4 +1,4 @@
/* $NetBSD: defs.h,v 1.56 2020/02/19 21:51:21 martin Exp $ */
/* $NetBSD: defs.h,v 1.57 2020/03/16 06:48:17 martin Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -72,7 +72,7 @@ const char *getfslabelname(uint, uint);
* if a system has less ram (in MB) than this, we will not create a
* tmpfs /tmp by default (to workaround PR misc/54886)
*/
#define SMALL_RAM_SIZE 256
#define SMALL_RAM_SIZE 384
/* helper macros to create unique internal error messages */
#define STR_NO(STR) #STR