Unable to recognize EXT4 extended partition
Could you add the read and write function of the extended partition to SharpExt4?
I think it supports extended partition?
How to read and write the extended partition of 4-11?
This could be the limitation of lwext4. https://github.com/nickdu088/SharpExt4/blob/main/lwext4/src/ext4_mbr.c#L104
If you know the extended partition offset of 4-11, you can manually add those partitions and test.
If you know the extended partition offset of 4-11, you can manually add those partitions and test.
Sorry, I'm not professional about this.
If you know the extended partition offset of 4-11, you can manually add those partitions and test.
Could you add it?
If you know the extended partition offset of 4-11, you can manually add those partitions and test.
Could you add it?
see here: https://github.com/nickdu088/SharpExt4/blob/main/SharpExt4/ExtDisk.cpp#L67C1-L73C5
You can add any partition you like.
It only needs offset and size. https://github.com/nickdu088/SharpExt4/blob/main/SharpExt4/ExtFileSystem.cpp#L208
When I increase the size of struct ext4_part_entry part_entry, why do I only see the type of the primary partition and the extended partition, and completely fail to find the type of logical partitions under the extended partition?
When I increase the size of struct ext4_part_entry part_entry, why do I only see the type of the primary partition and the extended partition, and completely fail to find the type of logical partitions under the extended partition?
For lwext4 limitation, you'd better ask lwext4 auther to update the library.
What I am asking you is to add more partitions in ExtDisk.cpp (ignoring the lwext4 returns): https://github.com/nickdu088/SharpExt4/blob/main/SharpExt4/ExtDisk.cpp#L67C1-L73C5 But you should know the partition size and offset.
