Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.

Commit cd7e092

Browse files
author
Julio Montes
authored
Merge pull request #93 from egernst/9p-fix
Update 9p mount syscall so mmap is rw
2 parents 3b9e3be + ef75aff commit cd7e092

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

syscall.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ func mountShareDir(tag string) error {
103103
return err
104104
}
105105

106-
return syscall.Mount(tag, mountShareDirDest, type9pFs, syscall.MS_MGC_VAL|syscall.MS_NODEV, "trans=virtio")
106+
return syscall.Mount(tag, mountShareDirDest, type9pFs, syscall.MS_MGC_VAL|syscall.MS_NODEV, "trans=virtio,version=9p2000.L,posixacl,cache=mmap")
107+
107108
}
108109

109110
func unmountShareDir() error {

0 commit comments

Comments
 (0)