Commit 8411d7aa authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 7c2e8281
......@@ -552,7 +552,7 @@ func parseWatch(msg string) (oid zodb.Oid, at zodb.Tid, err error) {
case strings.HasPrefix(argv[1], "@"):
at, err = zodb.ParseTid(argv[1][1:])
default:
err = fmt.Errorf("x") // XXX just anything
err = fmt.Errorf("x") // just anything
}
if err != nil {
return 0, 0, fmt.Errorf("invalid at")
......@@ -565,7 +565,7 @@ func parseWatch(msg string) (oid zodb.Oid, at zodb.Tid, err error) {
func (root *Root) StatFs() *fuse.StatfsOut {
return &fuse.StatfsOut{
// filesystem sizes XXX get root.zstor.Size() ?
// filesystem sizes (don't try to estimate)
Blocks: 0,
Bfree: 0,
Bavail: 0,
......@@ -574,8 +574,9 @@ func (root *Root) StatFs() *fuse.StatfsOut {
Files: 0,
Ffree: 0,
Bsize: 2*1024*1024, // XXX ok? better get from root
Frsize: 2*1024*1024,
// block size
Bsize: 2*1024*1024, // "optimal transfer block size" XXX better get from root?
Frsize: 2*1024*1024, // "fragment size"
NameLen: 255, // XXX ok? /proc uses the same
}
......
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