:py:mod:`dissect.target.helpers.loaderutil` =========================================== .. py:module:: dissect.target.helpers.loaderutil Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: :nosignatures: dissect.target.helpers.loaderutil.add_virtual_ntfs_filesystem dissect.target.helpers.loaderutil.extract_path_info Attributes ~~~~~~~~~~ .. autoapisummary:: dissect.target.helpers.loaderutil.log .. py:data:: log .. py:function:: add_virtual_ntfs_filesystem(target: dissect.target.target.Target, fs: dissect.target.filesystem.Filesystem, boot_path: str = '$Boot', mft_path: str = '$MFT', usnjrnl_path: str = '$Extend/$Usnjrnl:$J', sds_path: str = '$Secure:$SDS') -> None Utility for creating an NtfsFilesystem with separate system files from another Filesystem, usually a DirectoryFilesystem or VirtualFilesystem. :param target: The target to add the filesystem to. :param fs: The Filesystem to load the system files from. :param boot_path: Path to open the $Boot file from. :param mft_path: Path to open the $MFT file from. :param usnjrnl_path: Path to open the $Usnjrnl:$J file from. :param sds_path: Path to open the $Secure:$SDS file from. .. py:function:: extract_path_info(path: Union[str, pathlib.Path]) -> tuple[pathlib.Path, Optional[urllib.parse.ParseResult]] Extracts a ParseResult from a path if it has a scheme and adjusts the path if necessary. :param path: String or Path describing the path of a target. :returns: - a Path or None - ParseResult or None