:py:mod:`dissect.jffs` ====================== .. py:module:: dissect.jffs Submodules ---------- .. toctree:: :titlesonly: :maxdepth: 1 c_jffs2/index.rst exceptions/index.rst jffs2/index.rst Package Contents ---------------- Classes ~~~~~~~ .. autoapisummary:: dissect.jffs.JFFS2 .. py:exception:: Error Bases: :py:obj:`Exception` Common base class for all non-exit exceptions. .. py:exception:: FileNotFoundError Bases: :py:obj:`Error` Common base class for all non-exit exceptions. .. py:exception:: NotADirectoryError Bases: :py:obj:`Error` Common base class for all non-exit exceptions. .. py:exception:: NotASymlinkError Bases: :py:obj:`Error` Common base class for all non-exit exceptions. .. py:class:: JFFS2(fh: BinaryIO) Journalling Flash File System, version 2 implementation. Currently supports the most common compression formats (``zlib``, ``lzo``, ``none`` and ``zero``). CRC checksums are currently ignored. Compression formats ``rtime``, ``rubinmips``, ``copy`` and ``dynrubin`` are not supported. .. rubric:: References - https://sourceware.org/jffs2/ - https://github.com/torvalds/linux/blob/master/fs/jffs2/readinode.c .. py:attribute:: fh .. py:attribute:: inode .. py:attribute:: root .. py:method:: get(path: Union[str, int], node: Optional[INode] = None) -> INode