dissect.target.filesystems.vmfs
#
Module Contents#
Classes#
Base class for filesystems. |
|
Base class for filesystem entries. |
Attributes#
- dissect.target.filesystems.vmfs.log#
- class dissect.target.filesystems.vmfs.VmfsFilesystem(fh, *args, **kwargs)#
Bases:
dissect.target.filesystem.Filesystem
Base class for filesystems.
- __fstype__ = 'vmfs'#
- static detect(fh)#
Detect a VMFS filesystem on a given file-like object.
- get(path)#
Returns a VmfsFilesystemEntry object corresponding to the given pathname
- class dissect.target.filesystems.vmfs.VmfsFilesystemEntry(fs: Filesystem, path: str, entry: FilesystemEntry)#
Bases:
dissect.target.filesystem.FilesystemEntry
Base class for filesystem entries.
- get(path)#
Get a filesystem entry relative from the current one.
- open()#
Returns file handle (file-like object).
- iterdir()#
List the directory contents of a directory. Returns a generator of strings.
- scandir()#
List the directory contents of this directory. Returns a generator of filesystem entries.
- is_dir()#
Return whether this entry is a directory. Resolves symlinks when possible.
- is_file()#
Return whether this entry is a file. Resolves symlinks when possible.
- is_symlink()#
Return whether this entry is a link.
- readlink()#
Read the link of the given path if it is a symlink. Returns a string.
- stat()#
Return the stat information of this entry.
- lstat()#
Return the stat information of the given path, without resolving links.