dissect.qnxfs.qnx4¶
Module Contents¶
Classes¶
- class dissect.qnxfs.qnx4.QNX4(fh: BinaryIO)¶
QNX4 filesystem implementation.
- Parameters:
fh – A file-like object of the volume containing the filesystem.
- fh¶
- block_size¶
- inode¶
- root¶
- class dissect.qnxfs.qnx4.INode4(fs: QNX4, inum: int)¶
- fs¶
- inum¶
- __repr__() str¶
- property inode: dissect.qnxfs.c_qnx4.c_qnx4.qnx4_inode_entry¶
Return the inode entry.
- property name: str¶
Return the file name.
- property size: int¶
Return the file size.
- property uid: int¶
Return the owner user ID.
- property gid: int¶
Return the owner group ID.
- property ftime: datetime.datetime¶
Return the file creation time.
- property mtime: datetime.datetime¶
Return the file modification time.
- property atime: datetime.datetime¶
Return the file access time.
- property ctime: datetime.datetime¶
Return the file change time.
- property mode: int¶
Return the file mode.
- property type: int¶
Return the file type.
- property nlink: int¶
Return the number of hard links.
- property status: int¶
Return the file status.
- property link: str¶
Return the symlink target.
- is_dir() bool¶
Return whether this inode is a directory.
- is_file() bool¶
Return whether this inode is a regular file.
- is_symlink() bool¶
Return whether this inode is a symlink.
- is_block_device() bool¶
Return whether this inode is a block device.
- is_character_device() bool¶
Return whether this inode is a character device.
- is_device() bool¶
Return whether this inode is a device.
- is_fifo() bool¶
Return whether this inode is a FIFO file.
- is_socket() bool¶
Return whether this inode is a socket file.
- is_ipc() bool¶
Return whether this inode is an IPC file.
- dataruns() list[tuple[int, int]]¶
Return the data runlist.
- open() BinaryIO¶
Return a file-like object for reading the file.