diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/infra.gentoo.org/rsync-node/wrap_rsync.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/infra.gentoo.org/rsync-node/wrap_rsync.sh b/src/infra.gentoo.org/rsync-node/wrap_rsync.sh index 778fe5a..60f7687 100755 --- a/src/infra.gentoo.org/rsync-node/wrap_rsync.sh +++ b/src/infra.gentoo.org/rsync-node/wrap_rsync.sh @@ -4,8 +4,8 @@ # Then execute rsyncd; we will start serving once the sync completes. # Then keep syncing in the background every 30m. -# We keep the trees in a TMPFS. -mount -t tmpfs -o size=1300m tmpfs "${DEST_DIR}" +# We keep the trees in a TMPFS, we need a million inodes and 1300MB of space. +mount -t tmpfs -o size=1300m,nr_inodes=1000000 tmpfs "${DEST_DIR}" if [[ $? -ne 0 ]]; then logger -t rsync "Init: Failed to create tmpfs: ${DEST_DIR}" return 1 |