Skip to main content

Python module to interact programmatically with an online btrfs file system

Project description

python-btrfs is a Python 3 library that provides ways to interact programmatically with an online btrfs file system.

It provides a pure python shadow implementation of data structures used in btrfs together with convenient wrappers around the collection of kernel functions that are available in the btrfs kernel API.

Using them, we can examine the secret inner world of a btrfs file system for educational purposes.

The target audience for using the library is system administrators and developers who want to discover more about the internals of a btrfs file system, or want to create adjusted monitoring or administration tools that are optimized for their specific use cases.

python-btrfs does not directly access disk storage, it only uses functions available in the kernel interface, using system calls. This also means that python-btrfs can not be used to repair a broken filesystem whenever the running Linux kernel cannot properly mount it.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

btrfs-15.tar.gz (65.8 kB view details)

Uploaded Source

File details

Details for the file btrfs-15.tar.gz.

File metadata

  • Download URL: btrfs-15.tar.gz
  • Upload date:
  • Size: 65.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for btrfs-15.tar.gz
Algorithm Hash digest
SHA256 1419914ff141dfe9e16fd0477d9548d4bea733ecd77588e8cb7255ce17ada10b
MD5 0b2a82cec3dbbffd53343a3bdec9ee2d
BLAKE2b-256 e73a46984cee1e0d3543c360aa96af51fe8a19e3eba152f5984e0a17ce49f21b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page