diff options
-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 dd3e2df..443da9e 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 -o remount -o size=1.3g "${DEST_DIR}" + mount -t tmpfs -o size=1.3g tmpfs "${DEST_DIR}" if [[ $? -ne 0 ]]; then logger -t rsync "Init: Failed to resize tmpfs: ${DEST_DIR}" return 1 |