: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.parse_path_uri 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:: parse_path_uri(path: str | pathlib.Path | None) -> tuple[pathlib.Path | None, urllib.parse.ParseResult | None] Parse a path URI into its path component and a parsed path, if applicable. If the path is a string, it will be parsed as a URI. If it is a Path object, it will be returned as is. :param path: String or ``Path`` describing the path of a target. :returns: A tuple containing a normalized path and the parsed path.