dissect.xfs.xfs
¶
Module Contents¶
Classes¶
Functions¶
Attributes¶
- dissect.xfs.xfs.log¶
- class dissect.xfs.xfs.XFS(fh: BinaryIO)¶
-
- get_allocation_group(agnum: int) AllocationGroup ¶
- walk_agi(block: int, agnum: int) Iterator[dissect.cstruct.Instance] ¶
- walk_extents(block: int) Iterator[tuple[int, int, int, int]] ¶
- class dissect.xfs.xfs.AllocationGroup(xfs: XFS, fh: BinaryIO, num: int)¶
- get_inode(inum: int, filename: str | None = None, filetype: int | None = None, parent: INode | None = None, lazy: bool = False) INode ¶
- walk_extents(fsb: int) Iterator[tuple[int, int, int, int]] ¶
- walk_agi() Iterator[dissect.cstruct.Instance] ¶
- walk_tree(fsb: int, magic: list[int] | None = None, small: bool = False)¶
- class dissect.xfs.xfs.INode(ag: AllocationGroup, inum: int, filename: str | None = None, filetype: int | None = None, parent: INode | None = None)¶
- property inode: dissect.cstruct.Instance¶
- property size: int¶
- property data_extents: int¶
- property attr_extents: int¶
- property filetype: int¶
- property link: str¶
- property atime: datetime.datetime¶
- property atime_ns: int¶
- property mtime: datetime.datetime¶
- property mtime_ns: int¶
- property ctime: datetime.datetime¶
- property ctime_ns: int¶
- property crtime: datetime.datetime¶
- property crtime_ns: int¶
- dirlist¶
- __repr__() str ¶
Return repr(self).
- datafork() BinaryIO ¶
- attrfork() BinaryIO ¶
- dataruns() list[tuple[int | None, int]] ¶
- open() BinaryIO ¶
- dissect.xfs.xfs.fsb_to_bb(block: int, agblklog: int) tuple[int, int] ¶