rawdisk package

Subpackages

Submodules

rawdisk.main module

rawdisk.main.main()[source]

rawdisk.reader module

class rawdisk.reader.Reader[source]

Bases: object

Main class used to start filesystem analysis.

Attributes:
partitions (list): List of detected filesystems (intialized Volume objects) scheme (enum): One of SCHEME_MBR or SCHEME_GPT.
list_partitions()[source]

Print a list of detected partitions.

load(filename, bs=512)[source]

Starts filesystem analysis. Detects supported filesystems and loads partitions array.

Args:
filename - Path to file or device for reading.
Raises:
IOError - File/device does not exist or is not readable.

Module contents

Table Of Contents

This Page