FreeNOS
Data Fields
LinnInode Struct Reference

Structure of an inode on the disk in the LinnFS filesystem. More...

#include <LinnInode.h>

Data Fields

le16 type:3
 Type of file, as an FileType. More...
 
le16 mode:13
 Access permissions, as an FileMode. More...
 
le16 uid
 User Identity. More...
 
le16 gid
 Group Identity. More...
 
le32 size
 Size in bytes. More...
 
le32 accessTime
 Access time. More...
 
le32 createTime
 Creation time. More...
 
le32 modifyTime
 Modification time. More...
 
le32 changeTime
 Status change timestamp. More...
 
le16 links
 Links count. More...
 
le32 block [LINN_INODE_BLOCKS]
 Pointers to blocks. More...
 

Detailed Description

Structure of an inode on the disk in the LinnFS filesystem.

Definition at line 92 of file LinnInode.h.

Field Documentation

◆ accessTime

le32 LinnInode::accessTime

Access time.

Definition at line 99 of file LinnInode.h.

Referenced by LinnCreate::createInode().

◆ block

le32 LinnInode::block[LINN_INODE_BLOCKS]

◆ changeTime

le32 LinnInode::changeTime

Status change timestamp.

Definition at line 102 of file LinnInode.h.

Referenced by LinnCreate::createInode().

◆ createTime

le32 LinnInode::createTime

Creation time.

Definition at line 100 of file LinnInode.h.

Referenced by LinnCreate::createInode().

◆ gid

le16 LinnInode::gid

Group Identity.

Definition at line 97 of file LinnInode.h.

Referenced by LinnCreate::createInode().

◆ links

le16 LinnInode::links

Links count.

Definition at line 103 of file LinnInode.h.

Referenced by LinnCreate::createInode().

◆ mode

le16 LinnInode::mode

Access permissions, as an FileMode.

Definition at line 95 of file LinnInode.h.

Referenced by LinnCreate::createInode(), LinnDirectory::LinnDirectory(), and LinnFile::LinnFile().

◆ modifyTime

le32 LinnInode::modifyTime

Modification time.

Definition at line 101 of file LinnInode.h.

Referenced by LinnCreate::createInode().

◆ size

le32 LinnInode::size

◆ type

le16 LinnInode::type

Type of file, as an FileType.

Definition at line 94 of file LinnInode.h.

Referenced by LinnCreate::createInode(), LinnDirectory::lookup(), and LinnDirectory::read().

◆ uid

le16 LinnInode::uid

User Identity.

Definition at line 96 of file LinnInode.h.

Referenced by LinnCreate::createInode().


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