dfvfs.mount package
Submodules
dfvfs.mount.manager module
The path specification mount point manager.
The mount point manager allows to “mount” one path specification onto another. This allows dfVFS to expose complex path specifications in a way closer to the original system interpretation.
E.g. the path specification: type=OS, location=/home/myuser/myimages/image.qcow2 type=QCOW type=TSK_PARTITION, location=/p1 type=TSK, inode=128, location=/Users/MyUser/MyFile.txt
could be mounted as: type=MOUNT, identifier=C type=TSK, inode=128, location=/Users/MyUser/MyFile.txt
where the “C” mount point would be: type=OS, location=/home/myuser/myimages/image.qcow2 type=QCOW type=TSK_PARTITION, location=/p1
- class dfvfs.mount.manager.MountPointManager[source]
Bases:
object
Path specification mount point manager.
- classmethod DeregisterMountPoint(mount_point)[source]
Deregisters a path specification mount point.
- Parameters:
mount_point (str) – mount point identifier.
- Raises:
KeyError – if the corresponding mount point is not set.