Open mappu opened 5 months ago
Hi, thanks for this project.
I have a small size ext4 filesystem image: volume.ext4.zip
It was created simply by mkfs -t ext4 with default options on a 128MB loopback device. It has the 64-bit feature flag.
mkfs -t ext4
When listing files, this library gives EOF looking for the inode (same as #5):
failed to list file infos: failed to get directory entries: failed to get root inode: failed to read inode: EOF
This same filesystem image can be loaded successfully with the https://github.com/dsoprea/go-ext4/ library.
Somehow the GetInodeTableLoc() returned a too high value, i'll compare it further.
GetInodeTableLoc()
I think the ext4.GroupDescriptor is parsed wrongly for this filesystem.
ext4.GroupDescriptor
Hi, thanks for this project.
I have a small size ext4 filesystem image: volume.ext4.zip
It was created simply by
mkfs -t ext4
with default options on a 128MB loopback device. It has the 64-bit feature flag.When listing files, this library gives EOF looking for the inode (same as #5):
failed to list file infos: failed to get directory entries: failed to get root inode: failed to read inode: EOF
This same filesystem image can be loaded successfully with the https://github.com/dsoprea/go-ext4/ library.
Somehow the
GetInodeTableLoc()
returned a too high value, i'll compare it further.