diff --git a/src/shared/mount-util.h b/src/shared/mount-util.h index 3622170297..ce73aebd4b 100644 --- a/src/shared/mount-util.h +++ b/src/shared/mount-util.h @@ -11,9 +11,9 @@ #include "errno-util.h" #include "macro.h" -/* 4MB for contents of regular files, 128k inodes for directories, symbolic links and device specials, using +/* 4MB for contents of regular files, 1m inodes for directories, symbolic links and device nodes, using * large storage array systems as a baseline */ -#define TMPFS_LIMITS_DEV ",size=4m,nr_inodes=128k" +#define TMPFS_LIMITS_DEV ",size=4m,nr_inodes=1m" /* Very little, if any use expected */ #define TMPFS_LIMITS_EMPTY_OR_ALMOST ",size=4m,nr_inodes=1k" diff --git a/units/tmp.mount b/units/tmp.mount index 516bd1621c..4e1bb8de24 100644 --- a/units/tmp.mount +++ b/units/tmp.mount @@ -22,4 +22,4 @@ After=swap.target What=tmpfs Where=/tmp Type=tmpfs -Options=mode=1777,strictatime,nosuid,nodev,size=50%,nr_inodes=400k +Options=mode=1777,strictatime,nosuid,nodev,size=50%,nr_inodes=1m