You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.
easily reproducible in docker container (not over btrfs or lvm storage drivers)
./bmaptool create /tmp/test.img
Traceback (most recent call last):
File "./bmaptool", line 744, in <module>
sys.exit(main())
File "./bmaptool", line 728, in main
args.func(args, log)
File "./bmaptool", line 558, in create_command
creator = BmapCreate.BmapCreate(args.image, output, "sha256", log)
File "/home/kad/git/bmap-tools/bmaptools/BmapCreate.py", line 175, in __init__
self.filemap = Filemap.filemap(self._f_image, self._log)
File "/home/kad/git/bmap-tools/bmaptools/Filemap.py", line 518, in filemap
return FilemapFiemap(image, log)
File "/home/kad/git/bmap-tools/bmaptools/Filemap.py", line 335, in __init__
_FilemapBase.__init__(self, image, log)
File "/home/kad/git/bmap-tools/bmaptools/Filemap.py", line 86, in __init__
self.blocks_cnt /= self.block_size
ZeroDivisionError: integer division or modulo by zero
The text was updated successfully, but these errors were encountered:
Under some conditions, ioctl FIGETBSZ can't return real value.
We can try to use fallback via os.stat() to get block size.
Closesintel#15
Signed-off-by: Alexander D. Kanevskiy <kad@kad.name>
Under some conditions, ioctl FIGETBSZ can't return real value.
We can try to use fallback via os.stat() to get block size.
Closesintel#15
Signed-off-by: Alexander D. Kanevskiy <kad@kad.name>
easily reproducible in docker container (not over btrfs or lvm storage drivers)
The text was updated successfully, but these errors were encountered: