:py:mod:`dissect.extfs.journal` =============================== .. py:module:: dissect.extfs.journal Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: dissect.extfs.journal.JDB2 dissect.extfs.journal.DescriptorBlock dissect.extfs.journal.DescriptorBlockTag dissect.extfs.journal.CommitBlock .. py:class:: JDB2(fh: BinaryIO) .. py:attribute:: fh .. py:attribute:: sb .. py:attribute:: block_size .. py:method:: read_block(block: int, count: int = 1) -> bytes .. py:method:: commits() -> collections.abc.Iterator[CommitBlock] .. py:method:: commits_all() -> collections.abc.Iterator[CommitBlock] .. py:method:: walk() -> collections.abc.Iterator[CommitBlock] .. py:class:: DescriptorBlock(jdb2: JDB2, header: dissect.extfs.c_jdb2.c_jdb2.journal_header, block: int) .. py:attribute:: jdb2 .. py:attribute:: header .. py:attribute:: journal_block .. py:attribute:: sequence .. py:method:: __repr__() -> str .. py:method:: tags() -> collections.abc.Iterator[DescriptorBlockTag] .. py:class:: DescriptorBlockTag(descriptor: DescriptorBlock, tag: dissect.extfs.c_jdb2.c_jdb2.journal_block_tag | dissect.extfs.c_jdb2.c_jdb2.journal_block_tag3, journal_block: int) .. py:attribute:: descriptor .. py:attribute:: tag .. py:attribute:: journal_block .. py:attribute:: block .. py:method:: __repr__() -> str .. py:method:: open() -> BinaryIO .. py:class:: CommitBlock(jdb2: JDB2, header: dissect.extfs.c_jdb2.c_jdb2.commit_header, journal_block: int, descriptors: list[DescriptorBlock] | None = None) .. py:attribute:: jdb2 .. py:attribute:: header .. py:attribute:: journal_block .. py:attribute:: descriptors .. py:attribute:: sequence .. py:attribute:: ts .. py:method:: __repr__() -> str