[RTEMS Project] #3003: FAT does not support clusters bigger than 32K
RTEMS trac
trac at rtems.org
Thu Apr 20 12:23:11 UTC 2017
#3003: FAT does not support clusters bigger than 32K
------------------------+--------------------------
Reporter: munster | Owner: chrisj@…
Type: defect | Status: new
Priority: normal | Milestone: 4.12
Component: filesystem | Version: 4.12
Severity: normal | Keywords: FAT, cluster
------------------------+--------------------------
When used with 64KiB clusters, the FAT driver will loop forever in
cpukit/libfs/src/dosfs/fat.c, line 580.
This happens because struct fat_vol_s declares bytes per cluster variable
as **uint16_t bpc**, whereas it can be as big as 256KiB.
Here is a link for Linux FAT driver which doesn't make any assumption
about cluster size: [http://lxr.free-
electrons.com/source/fs/fat/inode.c?v=2.6.24#L1262]
--
Ticket URL: <http://devel.rtems.org/ticket/3003>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list