Changes between Version 30 and Version 31 of file_system


Ignore:
Timestamp:
Jan 11, 2016, 3:18:57 PM (8 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • file_system

    v30 v31  
    44
    55The [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.
     6files define the GIET_VM File System.
    77
    88== 1) General Principles ==
     
    1212The max size for a single file is 4 Gbytes.
    1313
    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).
     14From 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).
    1715
    1816The 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).