Skip to main content

Python module to inspect btrfs filesystems

Project description

Python 3 module to inspect btrfs filesystems.

License: GPLv2.

Btrfs is a copy on write (COW) filesystem for Linux aimed at implementing advanced features while focusing on fault tolerance, repair and easy administration.

Project Goal

Currently, the primary goal of this module is to be able to inspect the internals of an existing filesystem for educational purposes.

A second goal is to provide a nicer way for automating administration tasks and writing monitoring scripts by being able to just programmatically access the needed information, instead of having to spend most of the time on parsing human readable output from other btrfs tools.

The python module acts as a wrapper around the low level kernel calls and btrfs data structures, presenting them as python objects with interesting attributes and references to other objects.

Development progress

The module currently gained a quite good coverage of the kernel API and metadata structures to be useful for many introspection tasks. Documentation in tutorial form is still lacking, but the git commit history has a wealth of documentation on all parts of the code.

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-7.tar.gz (24.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: btrfs-7.tar.gz
  • Upload date:
  • Size: 24.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for btrfs-7.tar.gz
Algorithm Hash digest
SHA256 49cfcc531b1b22252f66d6d26bf71811c55f90737aa94b7ff5fa881f47e81e19
MD5 f5797c67dc8615cdc11df429b513d453
BLAKE2b-256 a9dd22bc7eeddd991eedee91bd3965001acd01976838d00def8f1d9af5663458

See more details on using hashes here.

Supported by

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