ls hangs in fat fs root directory if root_ent_max not divisible by 16
|Reported by:||Jiri Svoboda||Owned by:|
|Blocker for:||Depends on:|
The fat file system driver does not handle the case when root_ent_max is not divisible by 16 (i.e. the root directory does not end on sector boundary).
Of course such setting is far from being standard / portable. The driver should either refuse to mount such file system, or handle the situation in some graceful, logical manner. (E.g. assuming space was reserved until the end of sector, but only using so many entries as was specified in the boot sector).