INODE[HFS](4) — HP-UX
Series 200, 300, 800 Only
NAME
inode − format of an inode
SYNOPSIS
#include <sys/types.h>
#include <sys/ino.h>
REMARKS
This entry describes the inode structure for the HFS file system. Refer to other inode(4) manual pages for information valid for other implementations.
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.
HARDWARE DEPENDENCIES
The HFS file system is implemented on Series 200 beginning with HP-UX Release 5.0, and on Series 300 and Series 800.
FILES
/usr/include/sys/ino.h
SEE ALSO
stat(2), fs[HFS](4), types(5).
Hewlett-Packard Company — Version B.1, May 11, 2021