Re: [PATCH] fat: ignore .. subdir and always add a link to dirs

From: OGAWA Hirofumi
Date: Tue Feb 27 2024 - 22:39:05 EST


Thadeu Lima de Souza Cascardo <cascardo@xxxxxxxxxx> writes:

>> There are many corrupted images, and attacks. Allowing too wide is
>> danger for fs.
>>
>> BTW, this image works and pass fsck on windows? When I quickly tested
>> ev3fs.zip (https://github.com/microsoft/pxt-ev3/issues/980) on windows
>> on qemu, it didn't seem recognized as FAT. I can wrongly tested though.
>>
>> Thanks.
>> --
>> OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
>
> The test image I managed to create mounts just fine on Windows. New
> subdirectories can be created there just as well.

Can you share the image somehow? And fsck (chkdsk, etc.) works without
any complain?

Thanks.
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>