Re: Writing a wtapper for BTRFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 27, 2013 at 01:53:17PM +0100, penn43@xxxxxxx wrote:
> where can I find some documentation that will help me
> in writing language bindings for BTRFS?

   You may want to look at the btrfs-progs libify patches (posted to
this list in the last couple of months), which try to pull out the
more useful bits of btrfs-progs as a userspace C API.

   You may also want to look at the bits I implemented in python[2]
for a subset of the btrfs ioctls and data structures in btrfs-gui.

   Other than that, it's down to the data structures documentation on
the wiki[1], and reading through ioctl.h.

   Hugo.

[1] https://btrfs.wiki.kernel.org/index.php/Data_Structures
[2] http://git.darksatanic.net/cgi/gitweb.cgi?p=btrfs-gui.git;a=blob;f=btrfsgui/btrfs.py;h=0941de1efeadb81576edf1c7c84da28805310a92;hb=aba25f9efe7bcdb99e8cfa38e703c4b0739c6af9

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
                  --- Be pure. Be vigilant. Behave. ---                  

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux