Skip to content

Commit 014e7df

Browse files
authored
Merge pull request systemd#21697 from keszybz/run-more-inodes
Allow more inodes in /dev and /tmp
2 parents 2b3a481 + cac372a commit 014e7df

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/shared/mount-util.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
#include "errno-util.h"
1212
#include "macro.h"
1313

14-
/* 4MB for contents of regular files, 128k inodes for directories, symbolic links and device specials, using
14+
/* 4MB for contents of regular files, 1m inodes for directories, symbolic links and device nodes, using
1515
* large storage array systems as a baseline */
16-
#define TMPFS_LIMITS_DEV ",size=4m,nr_inodes=128k"
16+
#define TMPFS_LIMITS_DEV ",size=4m,nr_inodes=1m"
1717

1818
/* Very little, if any use expected */
1919
#define TMPFS_LIMITS_EMPTY_OR_ALMOST ",size=4m,nr_inodes=1k"

units/tmp.mount

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ After=swap.target
2222
What=tmpfs
2323
Where=/tmp
2424
Type=tmpfs
25-
Options=mode=1777,strictatime,nosuid,nodev,size=50%,nr_inodes=400k
25+
Options=mode=1777,strictatime,nosuid,nodev,size=50%,nr_inodes=1m

0 commit comments

Comments
 (0)