Project

btrfs

0.0
No commit activity in last 3 years
No release in over 3 years
Ruby Objects for btrfs concepts
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

btrfs.rb

Overview

Wraps btrfs volumes in Ruby Objects.

Why does this exist?

To simplify working with btrfs volumes in Ruby.

Installation

gem install btrfs

Usage

The following will delete all subvolumes on a btrfs volume:

require 'btrfs'

volume = Btrfs::Volume.new '/path/to/volume'

volume.subvolumes.each do |subvolume|
  subvolume.delete
end

License

btrfs.rb is available under the MIT License. See LICENSE.txt for the full text.

Contributors