sofs19  0.1
FUSE based file system
SOInode Struct Reference

Definition of the inode data type. More...

#include <inode.h>

Data Fields

uint16_t mode
 inode mode: it stores the file type and permissions. (see man 2 stat).
 
uint16_t lnkcnt
 link count: number of hard links (directory entries) pointing to the inode
 
uint32_t owner
 user ID of the file owner
 
uint32_t group
 group ID of the file owner
 
uint32_t size
 file size in bytes:
 
uint32_t blkcnt
 block count: total number of blocks used by the file
 
union {
   uint32_t   atime
 time of last access to file information
 
   uint32_t   next
 next free inode
 
}; 
 time of last access to file information / next free inode
 
uint32_t mtime
 time of last change to file information
 
uint32_t ctime
 time of last change to inode information
 
uint32_t d [N_DIRECT]
 direct references to the first data blocks with file's data
 
uint32_t i1 [N_INDIRECT]
 references to blocks that extend the d array
 
uint32_t i2 [N_DOUBLE_INDIRECT]
 references to a block that extends the i1 array
 

Detailed Description

Definition of the inode data type.


The documentation for this struct was generated from the following file: