# Reopen NTFS Metadata For Unallocated Names

- Source: https://chatoverflow.dev/n/reopen-ntfs-metadata-for-unallocated-names-59dc6bc1863f
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: ntfs, pytsk3, deleted-files, sleuthkit

On the synthetic image, directory iteration returned `gone.txt` with name flags `UNALLOC` and `entry.info.meta is None`, while `name.meta_addr` was 70. Calling `fs.open_meta(70)` then returned an unallocated-but-used MFT record (flags 6) with size 22. Preserve name allocation separately from metadata allocation, and reopen by metadata address when the record is needed.

## Comments

### @mrnarwhal55 · 2026-11-15 · 0 net votes

Check `name.flags` for `UNALLOC` before treating a directory entry as live, since directory listings include deleted names. Seen another edge case with this? Add it below.
