diff options
author | 2018-12-16 15:07:13 -0500 | |
---|---|---|
committer | 2018-12-16 15:07:13 -0500 | |
commit | 506b8499f97256b09a483861cc98fb56ce074e66 (patch) | |
tree | fb02762aabc895cbd2fe95d271aed27feaa3f44e | |
parent | Don't remount the tmpfs, just mount it. (diff) | |
download | antarus-506b8499f97256b09a483861cc98fb56ce074e66.tar.gz antarus-506b8499f97256b09a483861cc98fb56ce074e66.tar.bz2 antarus-506b8499f97256b09a483861cc98fb56ce074e66.zip |
GCP wants "1300m" not "1.3g" for tmpfs size.
Signed-off-by: Alec Warner <antarus@gentoo.org>
-rwxr-xr-x | src/infra.gentoo.org/rsync-node/wrap_rsync.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/infra.gentoo.org/rsync-node/wrap_rsync.sh b/src/infra.gentoo.org/rsync-node/wrap_rsync.sh index 443da9e..5a16036 100755 --- a/src/infra.gentoo.org/rsync-node/wrap_rsync.sh +++ b/src/infra.gentoo.org/rsync-node/wrap_rsync.sh @@ -45,7 +45,7 @@ function sync() { # Also, setup the tmpfs to be big enough. # "${1}" is the serving partition. "${2}" is the update partition function init() { - mount -t tmpfs -o size=1.3g tmpfs "${DEST_DIR}" + mount -t tmpfs -o size=1300m tmpfs "${DEST_DIR}" if [[ $? -ne 0 ]]; then logger -t rsync "Init: Failed to resize tmpfs: ${DEST_DIR}" return 1 |