Attributes about the state or features of a file as a bitmask.
Flags marked [I] correspond to the FS_IOC_SETFLAGS values semantically.
See FS_IOC_SETFLAGS(2const)
for more.
pub const STATX_ATTR = packed struct(u64)
pub const STATX_ATTR = packed struct(u64) {
__pad1: u3 = 0,
/// [I] File is compressed by the fs.
COMPRESSED: bool = false,
__pad2: u1 = 0,
/// [I] File is marked immutable.
IMMUTABLE: bool = false,
/// [I] File is append-only.
APPEND: bool = false,
/// [I] File is not to be dumped.
NODUMP: bool = false,
/// [I] File requires a key to decrypt in the filesystem.
ENCRYPTED: bool = false,
/// File names a directory that triggers an automount.
AUTOMOUNT: bool = false,
/// File names the root of a mount.
MOUNT_ROOT: bool = false,
/// [I] File is protected by the `dm-verity` device.
VERITY: bool = false,
/// File is currently in the CPU direct access state.
/// Does not correspond to the per-inode DAX flag that some filesystems support.
DAX: bool = false,
/// File supports atomic write operations.
WRITE_ATOMIC: bool = false,
__pad3: u50 = 0,
}