Changes between Version 30 and Version 31 of file_system
- Timestamp:
- Jan 11, 2016, 3:18:57 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
file_system
v30 v31 4 4 5 5 The [source:soft/giet_vm/giet_fat32/fat32.c fat32.c] and [source:soft/giet_vm/giet_fat32/fat32.h fat32.h] 6 files define the GIET_VM File System , that complies to the FAT32 standard.6 files define the GIET_VM File System. 7 7 8 8 == 1) General Principles == … … 12 12 The max size for a single file is 4 Gbytes. 13 13 14 From the software point of view, a cluster is the smallest storage allocation unit on the block device : any file (or directory) occupies at least one cluster, and a given cluster cannot be shared by 2 different files. 15 16 This implementation supports only cluster size = 4 Kbytes (i.e. 8 contiguous blocks on block device). 14 From the software point of view, a cluster is the smallest storage allocation unit on the block device : any file (or directory) occupies at least one cluster, and a given cluster cannot be shared by 2 different files. This implementation supports only cluster size = 4 Kbytes (i.e. 8 contiguous blocks on block device). 17 15 18 16 The FAT region on the block device is an array of 32 bits words defining the linked list of clusters allocated to a given file in the DATA region of the block device. The DATA region is actually an array of 4 Kbytes buffers (i.e. an array of clusters).