btrfs

Bindings to the btrfs API https://github.com/redneb/hs-btrfs

Version on this page:0.1.2.3
LTS Haskell 9.5:0.1.2.3
Stackage Nightly 2017-09-20:0.1.2.3
Latest on Hackage:0.1.2.3
BSD3 licensed and maintained by Marios Titas <rednebΑΤgmxDΟΤcom>

Module documentation for 0.1.2.3

This package provides bindings to the low-level btrfs API (i.e. the BTRFS_IOC_* ioctls). Currently, only a subset of the API is supported, including all functions needed to work with subvolumes/snapshots as well as file cloning.

In order to build this package, linux-headers needs to be installed.

Warning: btrfs is still considered experimental. This module is also experimental and may contain serious bugs that may result in data loss. Do not use it on data that has not been backed up yet.

Changes

v0.1.2.3

* System.Linux.Btrfs.UUID.fromString did not handle all malformed
UUIDs correctly.

v0.1.2.2

* Fix compilation error when libcap is not installed.

v0.1.2.1

* Support cloneRangeIfSame on read-only subvolumes (requires
CAP_SYS_ADMIN).

v0.1.2.0

* Expose System.Linux.Btrfs.Time.
* Add example program that prints the file creation timestamp.

v0.1.1.1

* Support getting/setting the id of the default subvolume.

v0.1.1.0

* Support defraging file ranges.
Depends on:
Used by 1 package:
comments powered byDisqus