Skip to content

Commit

Permalink
session_linux: add noxattr to the mount
Browse files Browse the repository at this point in the history
Our 9p does not support xattr. It should, someday.

Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
  • Loading branch information
rminnich committed Dec 14, 2024
1 parent 45c5051 commit 50f47d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion session/session_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func (s *Session) Namespace() error {
// The debug= option is here so you can see how to temporarily set it if needed.
// It generates copious output so use it sparingly.
// A useful compromise value is 5.
opts := fmt.Sprintf("version=9p2000.L,trans=fd,rfdno=%d,wfdno=%d,uname=%v,debug=0,msize=%d", fd, fd, user, s.msize)
opts := fmt.Sprintf("version=9p2000.L,noxattr,trans=fd,rfdno=%d,wfdno=%d,uname=%v,debug=0,msize=%d", fd, fd, user, s.msize)
if len(s.mopts) > 0 {
opts += "," + s.mopts
}
Expand Down

0 comments on commit 50f47d6

Please sign in to comment.