mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-09 08:00:13 +00:00
502e2a3510
Currently, users wishing to manage Btrfs filesystems programatically have to shell out to btrfs-progs and parse the output. This isn't ideal. The goal of libbtrfsutil is to provide a library version of as many of the operations of btrfs-progs as possible and to migrate btrfs-progs to use it. Rather than simply refactoring the existing btrfs-progs code, the code has to be written from scratch for a couple of reasons: * A lot of the btrfs-progs code was not designed with a nice library API in mind in terms of reusability, naming, and error reporting. * libbtrfsutil is licensed under the LGPL, whereas btrfs-progs is under the GPL, which makes it dubious to directly copy or move the code. Eventually, most of the low-level btrfs-progs code should either live in libbtrfsutil or the shared kernel/userspace filesystem code, and btrfs-progs will just be the CLI wrapper. This first commit just includes the build system changes, license, README, and error reporting helper. Signed-off-by: Omar Sandoval <osandov@fb.com> Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
84 lines
1.0 KiB
Plaintext
84 lines
1.0 KiB
Plaintext
*.o
|
|
*.static.o
|
|
*.o.d
|
|
tags
|
|
.cc-defines.h
|
|
version.h
|
|
version
|
|
man/*.gz
|
|
Documentation/*.gz
|
|
Documentation/*.html
|
|
btrfs
|
|
btrfs.static
|
|
btrfs-debug-tree
|
|
btrfs-map-logical
|
|
btrfs-fragments
|
|
btrfsck
|
|
calc-size
|
|
ioctl-test
|
|
dir-test
|
|
send-test
|
|
quick-test
|
|
find-root
|
|
mkfs.btrfs
|
|
mkfs.btrfs.static
|
|
repair
|
|
restore
|
|
btrfs-convert
|
|
btrfs-find-root
|
|
btrfs-find-root.static
|
|
btrfs-image
|
|
btrfs-show-super
|
|
btrfs-zero-log
|
|
btrfs-corrupt-block
|
|
btrfs-select-super
|
|
btrfs-calc-size
|
|
btrfs-crc
|
|
btrfstune
|
|
mktables
|
|
libbtrfs.a
|
|
libbtrfs.so
|
|
libbtrfs.so.0
|
|
libbtrfs.so.0.1
|
|
library-test
|
|
library-test-static
|
|
/libbtrfsutil.so*
|
|
/libbtrfsutil.a
|
|
/fssum
|
|
testsuite-id
|
|
|
|
/tests/*-tests-results.txt
|
|
/tests/test-console.txt
|
|
/tests/test.img
|
|
/tests/mnt/
|
|
|
|
aclocal.m4
|
|
autom4te.cache
|
|
compile
|
|
config.cache
|
|
config.guess
|
|
config.h
|
|
config.h.in
|
|
config.h.in~
|
|
config.log
|
|
config.rpath
|
|
config.status
|
|
config.sub
|
|
config/ltmain.sh
|
|
config/py-compile
|
|
config/test-driver
|
|
configure
|
|
cscope.out
|
|
.clang_complete
|
|
depcomp
|
|
libtool
|
|
Makefile.inc
|
|
Documentation/Makefile
|
|
missing
|
|
mkinstalldirs
|
|
stamp-h
|
|
stamp-h.in
|
|
stamp-h1
|
|
config/*
|
|
|