MentOS
0.8.0
The Mentoring Operating System
|
The ext2 inode. More...
Public Attributes | |
uint16_t | mode |
File mode. | |
uint16_t | uid |
The user identifiers of the owners. | |
uint32_t | size |
The size of the file in bytes. | |
uint32_t | atime |
The time that the inode was accessed. | |
uint32_t | ctime |
The time that the inode was created. | |
uint32_t | mtime |
The time that the inode was modified the last time. | |
uint32_t | dtime |
The time that the inode was deleted. | |
uint16_t | gid |
The group identifiers of the owners. | |
uint16_t | links_count |
Number of hard links. | |
uint32_t | blocks_count |
Blocks count. | |
uint32_t | flags |
File flags. | |
uint32_t | osd1 |
OS dependant value. | |
union { | |
struct { | |
uint32_t dir_blocks [EXT2_DIRECT_BLOCKS] | |
[48 byte] | |
uint32_t indir_block | |
[ 4 byte] | |
uint32_t doubly_indir_block | |
[ 4 byte] | |
uint32_t trebly_indir_block | |
[ 4 byte] | |
} blocks | |
[60 byte] Blocks indices. | |
char symlink [60] | |
[60 byte] | |
} | data |
Mutable data. | |
uint32_t | generation |
Value used to indicate the file version (used by NFS). | |
uint32_t | file_acl |
Value indicating the block number containing the extended attributes. | |
uint32_t | dir_acl |
For regular files this 32bit value contains the high 32 bits of the 64bit file size. | |
uint32_t | fragment_addr |
Value indicating the location of the file fragment. | |
uint32_t | osd2 [3] |
OS dependant structure. | |
The ext2 inode.