|
MentOS
0.8.0
The Mentoring Operating System
|
Structure used when searching for a directory entry. More...
Public Attributes | |
| ino_t | parent_inode |
| The inode of the parent directory. | |
| uint32_t | block_index |
| The index of the block where the direntry resides. | |
| uint32_t | block_offset |
| The offest of the direntry inside the block. | |
| struct { | |
| uint32_t inode | |
| Number of the inode that this directory entry points to. | |
| uint16_t rec_len | |
| Length of this directory entry. Must be a multiple of 4. | |
| uint8_t name_len | |
| Length of the file name. | |
| uint8_t file_type | |
| File type code. | |
| char name [EXT2_NAME_LEN] | |
| File name of maximum size. | |
| } | direntry |
| The direntry where we store the search results, this one has a name of maximum size. | |
Structure used when searching for a directory entry.