ntfs: Pure Haskell library for reading NTFS disk images

[ bsd3, library, system ] [ Propose Tags ] [ Report a vulnerability ]

Parsers for NTFS volume geometry, MFT records, attributes and runlists, with MFT enumeration, data reads and a combined view of file metadata.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.1.0
Change log CHANGELOG.md
Dependencies base (>=4.14 && <5), bytestring (>=0.10 && <0.13) [details]
License BSD-3-Clause
Author Joonkyu Park
Maintainer vpark45@gmail.com
Uploaded by JoonkyuPark at 2026-11-27T01:33:26Z
Category System
Home page https://github.com/nattybear/ntfs
Bug tracker https://github.com/nattybear/ntfs/issues
Source repo head: git clone https://github.com/nattybear/ntfs
Distributions
Downloads 9 total (9 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for ntfs-0.1.1.0

[back to package description]

ntfs

A Haskell library for reading NTFS disk images. The goal is to build up from the volume structure: boot sector, MFT records, attributes and runlists first, then a high-level file system API.

Status

The volume, MFT and attribute layers are implemented, along with a combined file view:

  • NTFS.BootSector and NTFS.Volume for geometry, MFT reads and data reads.
  • NTFS.MFT.Record, NTFS.MFT.Attribute and NTFS.MFT for records, attribute headers and MFT enumeration.
  • NTFS.Runlist for mapping pairs and sparse runs.
  • NTFS.Attribute.Data, NTFS.Attribute.StandardInformation and NTFS.Attribute.FileName for common attribute values.
  • NTFS.File for the metadata and data of one record.
  • NTFS.Index for directory entries and exact-name lookup.
  • NTFS.Path for path components resolved through parent MFT references.

NTFS name collation is not available yet. The current Hackage release is 0.1.1.0.

Building

cabal build
cabal test