diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-07-11 12:36:32 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-07-11 12:36:32 -0300 |
commit | 337008191def6507fbd1f6434348eff168a4e8a0 (patch) | |
tree | dfe2eb1caa5f4b7b5f09421b3323d139ea1a33d5 | |
parent | a7d5bef25cf5d0d6c609231e5440c9fbb5ef79ac (diff) | |
download | kvmx-337008191def6507fbd1f6434348eff168a4e8a0.tar.gz kvmx-337008191def6507fbd1f6434348eff168a4e8a0.tar.bz2 |
Sets no cache, sync and dirsync at shared folder mount command
-rwxr-xr-x | kvmx | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -371,7 +371,7 @@ function kvmx_up { if [ ! -z "$shared_folder" ] && [ ! -z "$shared_folder_mountpoint" ]; then echo "Mounting $shared_folder on $shared_folder_mountpoint on guest..." echo "sudo mkdir -p $shared_folder_mountpoint" | kvmx_ssh - echo "sudo mount -t 9p -o trans=virtio shared $shared_folder_mountpoint -oversion=9p2000.L,posixacl,cache=loose" | kvmx_ssh + echo "sudo mount -t 9p -o trans=virtio shared $shared_folder_mountpoint -oversion=9p2000.L,posixacl,cache=none -o sync -o dirsync" | kvmx_ssh #echo "sudo mount //10.0.2.4/qemu $shared_folder_mountpint" | kvmx_ssh fi fi |