EfiFs icon indicating copy to clipboard operation
EfiFs copied to clipboard

Dose it work on mobile devices?

Open ChenQian17 opened this issue 2 years ago • 1 comments

I tried to apply f2fs to UEFI on mobile device, but failed. I found that the program runs to the function grub_f2fs_check_dentries and return after looping the function grub_f2fs_test_bit_le 27 times. I printed value of ctx->bitmap, all zero. How should I debug it?

ChenQian17 avatar Sep 02 '22 11:09 ChenQian17

How should I debug it?

By continuing what you're doing and investigating why the code doesn't see what you expect.

You should also attempt to boot the latest GRUB and see if it can access your partition (since the EfiFs file system drivers are directly derivated from GRUB, so they have the same limitations as the current GRUB driver)

Please bear in mind that the f2fs driver in GRUB is very recent, so it's possible it may not support all versions of f2fs. It looks to me like if ctx->bitmap is all zero, then it means that either you're not accessing the right f2fs partition, or you f2fs partition is created in a way that GRUB does not support, and therefore EfiFs does not support either.

pbatard avatar Sep 03 '22 12:09 pbatard

Since there has not been any update I will close this issue.

pbatard avatar Dec 21 '22 19:12 pbatard