-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bmaptool doesn't work in fakemachine #179
Comments
if it's any help, your example script works fine for me when run from
|
Yeah the problem seems to be that the 9pfs doesn't seem to support truncating an unlinked file; from strace:
Which is annoying but not much fakemaching can do about it; Which is why it fails in the mounted directory (9pfs) but works on e.g. |
fwiw doing a ugly hacky test with virtiofs shows some performance improvements and does fix this issue (see an ugly first hack in e74e487 ) |
The failing stacktrace in
bmaptool create
starts withos.ftruncate
which fails with "No such file or directory".Here's a python script which reproduces the issue:
Put this script somewhere (mine is in my home directory). From there, to reproduce:
The output I see in fakemachine:
In the docker container I get no output:
Nor on the actual bare metal machine:
The text was updated successfully, but these errors were encountered: