PyDocs

Nav

Generic Operating System Services

statx_result

os

class · Added in 3.15Linux >= 4.11 with glibc >= 2.28
Information about a file returned by os.statx().
Members of statx_result

s

stx_atime
Time of most recent access expressed in seconds.
stx_atime_ns
Time of most recent access expressed in nanoseconds as an integer.
stx_atomic_write_segments_max
Maximum iovecs for direct I/O with torn-write protection.
stx_atomic_write_unit_max
Maximum size for direct I/O with torn-write protection.
stx_atomic_write_unit_max_opt
Maximum optimized size for direct I/O with torn-write protection.
stx_atomic_write_unit_min
Minimum size for direct I/O with torn-write protection.
stx_attributes
Bitmask of STATX_ATTR_* constants specifying the attributes of this file.
stx_attributes_mask
A mask indicating which bits in stx_attributes are supported by the VFS and the filesystem.
stx_blksize
“Preferred” blocksize for efficient file system I/O.
stx_blocks
Number of 512-byte blocks allocated for file.
stx_btime
Time of file creation expressed in seconds.
stx_btime_ns
Time of file creation expressed in nanoseconds as an integer.
stx_ctime
Time of most recent metadata change expressed in seconds.
stx_ctime_ns
Time of most recent metadata change expressed in nanoseconds as an integer.
stx_dev
Identifier of the device on which this file resides.
stx_dev_major
Major number of the device on which this file resides.
stx_dev_minor
Minor number of the device on which this file resides.
stx_dio_mem_align
Direct I/O memory buffer alignment requirement.
stx_dio_offset_align
Direct I/O file offset alignment requirement.
stx_dio_read_offset_align
Direct I/O file offset alignment requirement for reads.
stx_gid
Group identifier of the file owner.
stx_ino
Inode number.
stx_mask
Bitmask of STATX_* constants specifying the information retrieved, which may differ from what was requested.
stx_mnt_id
Mount identifier.
stx_mode
File mode: file type and file mode bits (permissions).
stx_mtime
Time of most recent content modification expressed in seconds.
stx_mtime_ns
Time of most recent content modification expressed in nanoseconds as an integer.
stx_nlink
Number of hard links.
stx_rdev
Type of device if an inode device.
stx_rdev_major
Major number of the device this file represents.
stx_rdev_minor
Minor number of the device this file represents.
stx_size
Size of the file in bytes, if it is a regular file or a symbolic link.
stx_subvol
Subvolume identifier.
stx_uid
User identifier of the file owner.
0 Examples
No examples for os/statx_result.
See Also
No see-alsos for os/statx_result
0 Notes
No notes for statx_result