Skip to content

Commit 50f47d6

Browse files
committed
session_linux: add noxattr to the mount
Our 9p does not support xattr. It should, someday. Signed-off-by: Ronald G Minnich <[email protected]>
1 parent 45c5051 commit 50f47d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

session/session_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ func (s *Session) Namespace() error {
111111
// The debug= option is here so you can see how to temporarily set it if needed.
112112
// It generates copious output so use it sparingly.
113113
// A useful compromise value is 5.
114-
opts := fmt.Sprintf("version=9p2000.L,trans=fd,rfdno=%d,wfdno=%d,uname=%v,debug=0,msize=%d", fd, fd, user, s.msize)
114+
opts := fmt.Sprintf("version=9p2000.L,noxattr,trans=fd,rfdno=%d,wfdno=%d,uname=%v,debug=0,msize=%d", fd, fd, user, s.msize)
115115
if len(s.mopts) > 0 {
116116
opts += "," + s.mopts
117117
}

0 commit comments

Comments
 (0)