@hackage / linux-file-extents

Retrieve file fragmentation information under Linux

Latest0.2.0.1

About

Metadata

  • Last updated , by MariosTitas
  • License BSD-3-Clause
  • Categories FFI, Systems Programming
  • Maintained by: Marios Titas <rednebΑΤgmxDΟΤcom>

  • Lottery factor: 0

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    examples (off by default)

    Build examples

Readme

This package provides a simple wrapper around the Linux FIEMAP ioctl. It can be used to retrieve the list of all the extents of any given file, i.e. the area of the disk where the file is actually stored. This is similar to the filefrag command line tool provided by the e2fsprogs package.