--- warning: DO NOT CHANGE THIS MANUALLY, THIS IS GENERATED BY https://github.com/duckdb/community-extensions repository, check README there title: mft excerpt: | DuckDB Community Extensions NTFS $MFT inspection in SQL — parse record headers, triage well-formedness and reconstruct file paths straight from read_blob('$MFT') extension: name: mft description: NTFS $MFT inspection in SQL — parse record headers, triage well-formedness and reconstruct file paths straight from read_blob('$MFT') version: 0.1.0 language: Rust build: cargo license: MIT excluded_platforms: "wasm_mvp;wasm_eh;wasm_threads;windows_amd64_rtools;windows_amd64_mingw;linux_amd64_musl" requires_toolchains: "rust;python3" maintainers: - alitrack repo: github: alitrack/duckdb-mft ref: 89a129feb308dbd9600be382dccd6f5d79600714 ref_next: 89a129feb308dbd9600be382dccd6f5d79600714 docs: hello_world: | INSTALL mft FROM community; LOAD mft; -- Wire it to a carved $MFT: the table is just a BLOB column -- SELECT mft_record_header(read_blob('$MFT'), 12); -- SELECT mft_full_path(read_blob('$MFT'), 12); -- Self-contained probe: garbage input is reported, never crashes SELECT (mft_well_formed(CAST('garbage' AS BLOB), 0)).ok; extended_description: | ## mft — NTFS Master File Table in SQL The $MFT is the NTFS file system's heart: every file's timestamps, size, stream layout and path. These are the first inspection primitives a DFIR analyst needs, as SQL functions over a BLOB column. | Function | Returns | Notes | |---|---|---| | `mft_record_header(mft, n)` | STRUCT | Signature, flags, in_use, is_dir, sequence, timestamps | | `mft_well_formed(mft, n)` | STRUCT | `ok` / `kind` / `error` triage | | `mft_full_path(mft, n)` | VARCHAR | Reconstructed parent path for the entry | → [GitHub](https://github.com/alitrack/duckdb-mft) extension_star_count: 0 extension_star_count_pretty: 0 extension_download_count: null extension_download_count_pretty: n/a image: '/images/community_extensions/social_preview/preview_community_extension_mft.png' layout: community_extension_doc --- ### Compatibility Matrix This table covers all DuckDB releases that have not reached [end-of-life](https://duckdb.org/release_calendar), including LTS releases, and shows the 2 most recent patch releases of each. Older patch releases are not listed, but the extension may be available for them as well.
| Platform | 1.4.4 | 1.4.5 | 1.5.5 | 1.5.6 | 2.0.0 | | :--- | :---: | :---: | :---: | :---: | :---: | | Linux AMD64 | ❌ | ❌ | ❌ | ❌ | ✅ | | Linux ARM64 | ❌ | ❌ | ❌ | ❌ | ✅ | | macOS AMD64 | ❌ | ❌ | ❌ | ❌ | ❌ | | macOS ARM64 | ❌ | ❌ | ❌ | ❌ | ✅ | | Windows AMD64 | ❌ | ❌ | ❌ | ❌ | ✅ | | Windows ARM64 | ❌ | ❌ | ❌ | ❌ | ❌ | | WebAssembly | ❌ | ❌ | ❌ | ❌ | ❌ | ### Installing and Loading ```sql INSTALL {{ page.extension.name }} FROM community; LOAD {{ page.extension.name }}; ``` {% if page.docs.hello_world %} ### Example ```sql {{ page.docs.hello_world }}``` {% endif %} {% if page.docs.extended_description %} ### About {{ page.extension.name }} {{ page.docs.extended_description }} {% endif %} ### Added Functions | function_name | function_type | description | comment | examples | |-------------------|---------------|-------------|---------|----------| | mft_full_path | scalar | NULL | NULL | | | mft_record_header | scalar | NULL | NULL | | | mft_well_formed | scalar | NULL | NULL | | ### Overloaded Functions This extension does not add any function overloads. ### Added Types This extension does not add any types. ### Added Settings | name | description | input_type | scope | aliases | typed_value | |----------------|---------------------------------------------------------|------------|--------|---------|-------------| | temp_directory | Set the directory to which temporary files are written. | VARCHAR | GLOBAL | [] | post.db.tmp |