Merge pull request #151058 from alyssais/runInLinuxVM-msize
runInLinuxVM: set 9p msize to 128K
This commit is contained in:
commit
100db36743
@ -114,7 +114,7 @@ rec {
|
|||||||
|
|
||||||
echo "mounting Nix store..."
|
echo "mounting Nix store..."
|
||||||
mkdir -p /fs${storeDir}
|
mkdir -p /fs${storeDir}
|
||||||
mount -t 9p store /fs${storeDir} -o trans=virtio,version=9p2000.L,cache=loose
|
mount -t 9p store /fs${storeDir} -o trans=virtio,version=9p2000.L,cache=loose,msize=131072
|
||||||
|
|
||||||
mkdir -p /fs/tmp /fs/run /fs/var
|
mkdir -p /fs/tmp /fs/run /fs/var
|
||||||
mount -t tmpfs -o "mode=1777" none /fs/tmp
|
mount -t tmpfs -o "mode=1777" none /fs/tmp
|
||||||
@ -123,7 +123,7 @@ rec {
|
|||||||
|
|
||||||
echo "mounting host's temporary directory..."
|
echo "mounting host's temporary directory..."
|
||||||
mkdir -p /fs/tmp/xchg
|
mkdir -p /fs/tmp/xchg
|
||||||
mount -t 9p xchg /fs/tmp/xchg -o trans=virtio,version=9p2000.L
|
mount -t 9p xchg /fs/tmp/xchg -o trans=virtio,version=9p2000.L,msize=131072
|
||||||
|
|
||||||
mkdir -p /fs/proc
|
mkdir -p /fs/proc
|
||||||
mount -t proc none /fs/proc
|
mount -t proc none /fs/proc
|
||||||
|
Loading…
Reference in New Issue
Block a user