allow distro mount command to use disableXAttr (#6872)

This commit is contained in:
Erik Jacobson
2025-06-16 10:45:05 -05:00
committed by GitHub
parent 958d88cb85
commit 77397be070

View File

@@ -193,6 +193,13 @@ func runFuse(cmd *Command, args []string) bool {
} else {
panic(fmt.Errorf("readOnly: %s", err))
}
case "disableXAttr":
if parsed, err := strconv.ParseBool(parameter.value); err == nil {
mountOptions.disableXAttr = &parsed
} else {
panic(fmt.Errorf("disableXAttr: %s", err))
}
case "cpuprofile":
mountCpuProfile = &parameter.value
case "memprofile":