:py:mod:`dissect.fat.fat` ========================= .. py:module:: dissect.fat.fat Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: dissect.fat.fat.FATFS dissect.fat.fat.FAT dissect.fat.fat.DirectoryEntry dissect.fat.fat.RootDirectory Functions ~~~~~~~~~ .. autoapisummary:: :nosignatures: dissect.fat.fat.validate_bpb dissect.fat.fat.mask .. py:class:: FATFS(fh, encoding='ibm437') .. py:method:: get(path, dirent=None) .. py:function:: validate_bpb(bpb) .. py:class:: FAT(fh, fattype) .. py:method:: get(cluster) .. py:method:: chain(cluster) .. py:method:: runlist(cluster) Create a runlist from a cluster chain. First two clusters are reserved, so substract those. Also combine consecutive clusters for a more efficient runlist. .. py:class:: DirectoryEntry(fs, fh, parent=None) .. py:property:: path .. py:property:: size .. py:property:: cluster .. py:property:: ctime .. py:property:: atime .. py:property:: mtime .. py:method:: __repr__() Return repr(self). .. py:method:: is_readonly() .. py:method:: is_hidden() .. py:method:: is_system() .. py:method:: is_volume_id() .. py:method:: is_directory() .. py:method:: is_archive() .. py:method:: iterdir() .. py:method:: dataruns() .. py:method:: open() .. py:class:: RootDirectory(fs) Bases: :py:obj:`DirectoryEntry` .. py:property:: path .. py:property:: size .. py:property:: cluster .. py:property:: ctime .. py:property:: atime .. py:property:: mtime .. py:method:: is_readonly() .. py:method:: is_hidden() .. py:method:: is_system() .. py:method:: is_volume_id() .. py:method:: is_directory() .. py:method:: is_archive() .. py:method:: iterdir() .. py:method:: dataruns() .. py:method:: open() .. py:function:: mask(v, bits)