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

Update 9p mount syscall so mmap is rw #93

Merged
merged 1 commit into from
Aug 30, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion syscall.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ func mountShareDir(tag string) error {
return err
}

return syscall.Mount(tag, mountShareDirDest, type9pFs, syscall.MS_MGC_VAL|syscall.MS_NODEV, "trans=virtio")
return syscall.Mount(tag, mountShareDirDest, type9pFs, syscall.MS_MGC_VAL|syscall.MS_NODEV, "trans=virtio,version=9p2000.L,posixacl,cache=mmap")

}

func unmountShareDir() error {
Expand Down