Merge pull request #21697 from keszybz/run-more-inodes

Allow more inodes in /dev and /tmp
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-12-09 15:04:16 +01:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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"
+1 -1
View File
@@ -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