Changes between Version 51 and Version 52 of file_system


Ignore:
Timestamp:
Feb 4, 2016, 11:18:08 AM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • file_system

    v51 v52  
    6262
    6363 '''File / directory size'''
    64 For a file, the number of occupied clusters on block device can be directly obtained from the  <size>. The <size> attribute is a number of bytes stored on block device (in the directory entry), and copied in memory as a specific field in  the associated inode.
    65 For a directory, the< size> attribute must be set to 0. The number of occupied clusters on block device can be obtained from the <is_dir> field in the associated inode: This field is set to 0 for a file, and contain the number of occupied clusters, that cannot be zero, because a directory contains always the '.' and '..' entries.
     64For a file, the number of occupied clusters on the block device can be directly obtained from the  <size> attribute, that is a number of bytes stored on block device (in the directory entry), and copied in memory as a specific field in  the associated inode.
     65For a directory, the< size> attribute must be set to 0. The number of occupied clusters on block device can be directly obtained from the <is_dir> field in the associated inode: This field is set to 0 for a file, and contain the number of occupied clusters, that cannot be zero, because a directory contains always the '.' and '..' entries.
    6666
    6767 '''File / directory names'''