libsquashfs: sqfs_inode_t Struct Reference

libsquashfs 1.3.2 A new set of tools and libraries for working with SquashFS images

Loading...
Searching...
No Matches
sqfs_inode_t Struct Reference

Common inode structure. More...

`#include <inode.h>`

Collaboration diagram for sqfs_inode_t:

## Data Fields
sqfs_u16 | type
| An SQFS_INODE_TYPE value.
sqfs_u16 | mode
| Mode filed holding permission bits only. The type is derived from the type field.
sqfs_u16 | uid_idx
| An index into the ID table where the owner UID is located.
sqfs_u16 | gid_idx
| An index into the ID table where the owner GID is located.
sqfs_u32 | mod_time
| Last modifcation time.
sqfs_u32 | inode_number
| Unique inode number.

## Detailed Description

Common inode structure.

This structure holds the fields common for all inodes. Depending on the type field, a specific inode structure follows.

Definition at line 133 of file inode.h.

## Field Documentation

## ◆ gid_idx

sqfs_u16 gid_idx

An index into the ID table where the owner GID is located.

Definition at line 155 of file inode.h.

## ◆ inode_number

sqfs_u32 inode_number

Unique inode number.

Definition at line 169 of file inode.h.

## ◆ mod_time

sqfs_u32 mod_time

Last modifcation time.

This field counts seconds (not counting leap seconds) since 00:00, Jan 1 1970 UTC. This field is unsigned, so it expires in the year 2106 (as opposed to 2038).

Definition at line 164 of file inode.h.

## ◆ mode

sqfs_u16 mode

Mode filed holding permission bits only. The type is derived from the type field.

This field holds a combination of SQFS_INODE_MODE flags.

Definition at line 145 of file inode.h.

## ◆ type

sqfs_u16 type

An SQFS_INODE_TYPE value.

Examples
  list_files.c.

Definition at line 137 of file inode.h.

## ◆ uid_idx

sqfs_u16 uid_idx

An index into the ID table where the owner UID is located.

Definition at line 150 of file inode.h.

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

- include/sqfs/inode.h