dissect.fat.fat#

Module Contents#

Classes#

Functions#

class dissect.fat.fat.FATFS(fh, encoding='ibm437')#
get(path, dirent=None)#
dissect.fat.fat.validate_bpb(bpb)#
class dissect.fat.fat.FAT(fh, fattype)#
get(cluster)#
chain(cluster)#
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.

class dissect.fat.fat.DirectoryEntry(fs, fh, parent=None)#
property path#
property size#
property cluster#
property ctime#
property atime#
property mtime#
__repr__()#

Return repr(self).

is_readonly()#
is_hidden()#
is_system()#
is_volume_id()#
is_directory()#
is_archive()#
iterdir()#
dataruns()#
open()#
class dissect.fat.fat.RootDirectory(fs)#

Bases: DirectoryEntry

property path#
property size#
property cluster#
property ctime#
property atime#
property mtime#
is_readonly()#
is_hidden()#
is_system()#
is_volume_id()#
is_directory()#
is_archive()#
iterdir()#
dataruns()#
open()#
dissect.fat.fat.mask(v, bits)#