Commit 314dbb0d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent def65e55
......@@ -598,3 +598,24 @@ func tidmin(a, b zodb.Tid) zodb.Tid {
return b
}
}
// ---- make df happy (else it complains "function not supported") ----
func (root *Root) StatFs() *fuse.StatfsOut {
return &fuse.StatfsOut{
// filesystem sizes XXX get root.zstor.Size() ?
Blocks: 0,
Bfree: 0,
Bavail: 0,
// do we need to count files?
Files: 0,
Ffree: 0,
Bsize: 2*1024*1024, // XXX ok? better get from root
Frsize: 2*1024*1024,
NameLen: 255, // XXX ok? /proc uses the same
}
}
......@@ -611,6 +611,7 @@ def test_wcfs():
# XXX mmap f; change f[blk] on pin message while under pagefault - should get changed page
# XXX access to block not previously accessed but invalidated in ZODB
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment