Changes between Version 11 and Version 12 of file_system


Ignore:
Timestamp:
Jun 7, 2015, 2:23:11 PM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • file_system

    v11 v12  
    33[[PageOutline]]
    44
    5 This section describes  the GIET_VM File System, that respect the FAT32 standard.
     5The [source:soft/giet_vm/giet_fat32/fat32.c  fat32.c] and [source:soft/giet_vm/giet_fat32/fat32.h fat32.h]
     6files define the GIET_VM File System, that respect the FAT32 standard.
    67
    78== 1) General Principles ==
     
    1516This implementation supports only cluster size = 4 Kbytes (i.e. 8 contiguous blocks on block device).
    1617
    17 The FAT region on the block device is an array of 32 bits words defining the linked list of clusters allocated to 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).
     18The 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).
    1819Each slot in the FAT array contains a cluster index, that is the index of the next allocated cluster for a given file.
    1920The cluster index in the FAT array is also the cluster index in the DATA region array. The cluster index value cannot be larger than 0x0FFFFFFF (i.e. 256 M). The max addressable storage capacity in the DATA region on the block device is therefore (256 M * 4 Kbytes) = 1 Tbytes. We use the variable ''cluster'' to name the cluster index.