dissect.qnxfs

Submodules

Package Contents

Classes

QNX4

QNX4 filesystem implementation.

QNX6

QNX6 filesystem implementation.

Functions

Attributes

dissect.qnxfs.c_qnx4
dissect.qnxfs.c_qnx6
dissect.qnxfs.c_qnx6_be
dissect.qnxfs.c_qnx6_le
exception dissect.qnxfs.Error

Bases: Exception

Common base class for all non-exit exceptions.

exception dissect.qnxfs.FileNotFoundError

Bases: Error, FileNotFoundError

Common base class for all non-exit exceptions.

exception dissect.qnxfs.NotADirectoryError

Bases: Error, NotADirectoryError

Common base class for all non-exit exceptions.

exception dissect.qnxfs.NotASymlinkError

Bases: Error

Common base class for all non-exit exceptions.

class dissect.qnxfs.QNX4(fh: BinaryIO)

QNX4 filesystem implementation.

Parameters:

fh – A file-like object of the volume containing the filesystem.

fh
block_size
inode
root
get(path: str | int, node: INode4 | None = None) INode4

Return an inode object for the given path or inode number.

Parameters:
  • path – The path or inode number.

  • node – An optional inode object to relatively resolve the path from.

class dissect.qnxfs.QNX6(fh: BinaryIO)

QNX6 filesystem implementation.

Parameters:

fh – A file-like object of the volume containing the filesystem.

fh
sb2
sb
ctime
atime
volume_id
block_size
num_inodes
num_blocks
inode
root
get(path: str | int, node: INode6 | None = None) INode6

Return an inode object for the given path or inode number.

Parameters:
  • path – The path or inode number.

  • node – An optional inode object to relatively resolve the path from.

dissect.qnxfs.QNXFS(fh: BinaryIO) dissect.qnxfs.qnx4.QNX4 | dissect.qnxfs.qnx6.QNX6
dissect.qnxfs.is_qnxfs(fh: BinaryIO) bool