Results 13 comments of nickdu088

@Joren-Thijs , we end up with Modbus.Net.Core. https://www.nuget.org/packages/Modbus.Net.Core/

I think it supports extended partition?

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. > > Could you add it? see here: https://github.com/nickdu088/SharpExt4/blob/main/SharpExt4/ExtDisk.cpp#L67C1-L73C5 You can...

> 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...

Compile as release mode and try again.

Then it could be heap corruption.

Just a quick glimpse the screen shot you attached, it seems you are using x64 release, as you can see ext4_write takes uint64 as input, however extfilestream passes int32. You...

ExtFileStream inherits . Net Stream class and override close. https://github.com/nickdu088/SharpExt4/blob/main/SharpExt4/ExtFileStream.h#L37 It should be all handled by Stream base class.