Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
314dbb0d
Commit
314dbb0d
authored
Mar 20, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
def65e55
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
wcfs/misc.go
wcfs/misc.go
+21
-0
wcfs/wcfs_test.py
wcfs/wcfs_test.py
+1
-0
No files found.
wcfs/misc.go
View file @
314dbb0d
...
@@ -598,3 +598,24 @@ func tidmin(a, b zodb.Tid) zodb.Tid {
...
@@ -598,3 +598,24 @@ func tidmin(a, b zodb.Tid) zodb.Tid {
return
b
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
}
}
wcfs/wcfs_test.py
View file @
314dbb0d
...
@@ -611,6 +611,7 @@ def test_wcfs():
...
@@ -611,6 +611,7 @@ def test_wcfs():
# XXX mmap f; change f[blk] on pin message while under pagefault - should get changed page
# 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment