INODE(4) — HP-UX
NAME
inode − format of an inode
SYNOPSIS
#include <sys/types.h>
#include <sys/ino.h>
DESCRIPTION
An inode for a plain file or directory in a file system has the following structure defined by <sys/ino.h>.
/∗ Inode structure as it appears on a disk block ∗/
structdinode {
u_shortdi_mode;/∗ mode and type of file ∗/
shortdi_nlink;/∗ number of links to file ∗/
shortdi_uid;/∗ owner’s user id ∗/
shortdi_gid;/∗ owner’s group id ∗/
quaddi_size;/∗ number of bytes in file ∗/
time_tdi_atime;/∗ time last accessed ∗/
longdi_atspare;
time_tdi_mtime;/∗ time last modified ∗/
longdi_mtspare;
time_tdi_ctime;/∗ time of last file status change ∗/
longdi_ctspare;
daddr_tdi_db[NDADDR]; /∗ disk block addresses ∗/
daddr_tdi_ib[NIADDR]; /∗ indirect blocks ∗/
longdi_flags;/∗ status, currently unused ∗/
longdi_blocks;/∗ blocks actually held ∗/
longdi_spare[5];/∗ reserved, currently unused ∗/
};
For the meaning of the defined types u_short, quad, daddr_t and time_t see types(5).
See /usr/include/sys/inode.h for the definition of inode structures for special files, pipes, or FIFO’s.
FILES
/usr/include/sys/ino.h
SEE ALSO
Hewlett-Packard Company — May 11, 2021