btrfs.rb
Overview
Wraps btrfs volumes in Ruby Objects.
Why does this exist?
To simplify working with btrfs volumes in Ruby.
Installation
gem install btrfsUsage
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
endLicense
btrfs.rb is available under the MIT License. See LICENSE.txt for the full text.