Each directory node contains a list of data blocks. Each of these data blocks contains a number of directory entries. Each directory entry points to a node block, which may be a file node or a directory node.
Data Fields | |
u_char | dir_inuse |
Allocation flag. | |
char | dir_name [PNUT_MAX_NAMELEN+1] |
Name of this entry. | |
PNUT_BLKNUM | dir_node |
Node block index of this entry. |
Allocation flag.
Set to one if this entry is in use.
char PNUT_DIRENTRY::dir_name[PNUT_MAX_NAMELEN+1] |
Name of this entry.
Contains the name ot the file or directory.
PNUT_BLKNUM PNUT_DIRENTRY::dir_node |
Node block index of this entry.
This may point to a file or directory node.