name: linux-file-extents
version: 0.2.0.0
synopsis: Retrieve file fragmentation information under Linux
description:
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.
homepage: https://github.com/redneb/linux-file-extents
bug-reports: https://github.com/redneb/linux-file-extents/issues
license: BSD3
license-file: LICENSE
author: Marios Titas <rednebΑΤgmxDΟΤcom>
maintainer: Marios Titas <rednebΑΤgmxDΟΤcom>
category: System, Filesystem, FFI
build-type: Simple
cabal-version: >=1.10
extra-source-files:
include/fiemap.h
source-repository head
type: git
location: https://github.com/redneb/linux-file-extents.git
flag examples
description: Build examples
default: False
library
exposed-modules: System.Linux.FileExtents
include-dirs: include
build-depends: base >=4.6 && <5, unix >=2.6
build-tools: hsc2hs
default-language: Haskell2010
ghc-options: -Wall
executable print-extents
hs-source-dirs: examples
main-is: print-extents.hs
if !flag(examples)
buildable: False
else
build-depends: base >=4.6 && <5, linux-file-extents
default-language: Haskell2010
ghc-options: -Wall