Make mounts refuse what it could break: data the mesh keeps, a busy or non-empty mount point, its own share, and a mount that is not its source; say each node's wants so the server exports only to them (review of #136)

This commit is contained in:
jochen
2026-10-08 20:16:27 +02:00
parent 48fba44471
commit d5adc1d525
13 changed files with 747 additions and 31 deletions
+2
View File
@@ -33,6 +33,8 @@ func newSystem(t *testing.T) *fakeSystem {
}
}
f.write("/proc/self/mountinfo", "")
// The mesh keeps no data on this machine, as the controller said through the bundle.
f.write(DataFile, `{"machine":"workstation","paths":[]}`)
return f
}