OK - thanks for the kind words memorialized here. What I'll say is that the bitmap stuff looks fine to me. I will say that the comment about it being essentially tristate (1/0/undefined) gives me a little pause, but it being more than 10 years ago, I cannot remember the context in which I wrote that comment although my speculation is that the undefined state may have come in to play for images that aren't as long as the initial filesystem. I wrote the sysdep stuff to add the ability to support other...
Shouldn't these changes be conditional? Like only under musl cross compile or something.
Added NBD timeout option "-i timeout" to avoid disconnects on slow dynamic decompressed FUSE mounts
It seems that the problem is with the default nbd timeout of 30 seconds for an I/O to complete. While 30 seconds seems like a long enough time in general, adding the ability for the user to extend the timeout, knowing that if something goes awry, it will take that long to detect the error seems like a reasonable thing. You could make this change yourself right now by adding: ioctl(ncp->nbd_fh, NBD_SET_TIMEOUT, <desired timeout in seconds>) before the if statement at line 196 in src/imagemount.c -...
Bump version to 0.4.2
Thanks, I accepted the merge request.
Add support for the image format version 0002
error = 2 is ENOENT - no such file or directory. Check your command line argument.