A data structure describing the low-level details of a file system entry.
“Stats” the file or directory at
The number of system blocks allocated on disk for the file.
The preferred block size in bytes for interacting with the file. It may vary from file to file.
The ID of the device containing the entry.
Numeric group ID of the file’s owner.
The inode number of the entry.
Whether the file system entity is a directory.
Whether the file system entity is a regular file, as opposed to a directory or other special entity.
The number of hard links to the entry.
A bit field describing the entry’s type and protection flags.
The size of the entry in bytes.
The device ID for the entry, if it’s a special file.
Numeric user ID of the file’s owner.