Go to file
Alexander Batischev 446ec6b092 docs: mention that libclang is required
This fixes the following build failure on Debian bookworm:

    error: failed to run custom build command for `clang-sys v1.6.1`

    Caused by:
      process didn't exit successfully: `/home/minoru/src/bcachefs-tools/rust-src/target/release/build/clang-sys-df95f6d1266be773/build-script-build` (exit status: 101)
      --- stdout
      cargo:warning=could not execute `llvm-config` one or more times, if the LLVM_CONFIG_PATH environment variable is set to a full path to valid `llvm-config` executable it will be used to try to find an instance of `libclang` on your system: "couldn't execute `llvm-config --prefix` (path=llvm-config) (error: No such file or directory (os error 2))"

      --- stderr
      thread 'main' panicked at /home/minoru/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clang-sys-1.6.1/build/dynamic.rs:206:45:
      called `Result::unwrap()` on an `Err` value: "couldn't find any valid shared libraries matching: ['libclang.so', 'libclang-*.so'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"
      note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-11-24 20:09:46 -05:00
.github ci: skip install of recommended packages 2023-11-07 20:02:43 +01:00
ccan Update bcachefs sources to f638850417 bcachefs: bch2_trans_log_msg() 2022-03-30 17:40:37 -04:00
debian Add rust toolchain to debian build-deps 2023-03-05 05:37:08 -05:00
doc Add additional information about encryption 2023-07-10 16:03:30 -04:00
include Update bcachefs sources to 783085c3cc44 kbuild: Allow gcov to be enabled on the command line 2023-11-22 16:55:06 -05:00
initramfs Replaced mkdir -p with install -D in make install 2019-01-13 19:31:04 -08:00
libbcachefs Update bcachefs sources to 783085c3cc44 kbuild: Allow gcov to be enabled on the command line 2023-11-22 16:55:06 -05:00
linux improve kmalloc performance 2023-11-24 19:54:11 -05:00
packaging fuse: Set fsname correctly 2023-08-11 18:32:23 -04:00
raid snapraid 2018-11-23 02:10:44 -05:00
rust-src rust: fix MSRV build 2023-11-23 19:29:43 +01:00
tests Add valgrind suppressions: 2022-03-24 11:41:10 -06:00
.bcachefs_revision Update bcachefs sources to 783085c3cc44 kbuild: Allow gcov to be enabled on the command line 2023-11-22 16:55:06 -05:00
.editorconfig nix: overhaul build system. 2023-01-03 16:58:55 +13:00
.gitignore .gitignore: replace travis with github-ci config 2023-07-20 22:27:56 +02:00
bcachefs.8 fix manpage date 2023-11-18 14:53:17 -05:00
bcachefs.c improve kmalloc performance 2023-11-24 19:54:11 -05:00
build.nix nix: add bcachefs-fuse package 2023-11-20 15:13:17 -05:00
cmd_assemble.c Update bcachefs sources to 0906b1fb49 bcachefs: fixes for 32 bit/big endian machines 2018-05-17 02:36:19 -04:00
cmd_attr.c Update email address 2022-05-26 15:40:08 -04:00
cmd_data.c Update bcachefs sources to 783085c3cc44 kbuild: Allow gcov to be enabled on the command line 2023-11-22 16:55:06 -05:00
cmd_device.c Update bcachefs sources to 783085c3cc44 kbuild: Allow gcov to be enabled on the command line 2023-11-22 16:55:06 -05:00
cmd_dump.c Update bcachefs sources to f9c612bbf82d bcachefs: Fixes for building in userspace 2023-09-23 20:03:23 -04:00
cmd_format.c cmd_format: Check for device options after device arguments 2023-11-06 19:02:40 -05:00
cmd_fs.c cmd_fs_usage: Implement --help 2023-06-10 20:59:22 -04:00
cmd_fsck.c Fix 'bcachefs fsck -y' 2023-07-20 18:11:51 -04:00
cmd_fusemount.c Fix build for cmd_fusemount.c 2023-11-17 17:04:46 -05:00
cmd_key.c Update bcachefs sources to a180af9dd349 bcachefs: Refactor memcpy into direct assignment 2023-10-18 22:14:53 -04:00
cmd_kill_btree_node.c Update bcachefs sources to 24bdb6fed91c bcachefs: bch2_btree_id_str() 2023-10-19 22:56:59 -04:00
cmd_list_journal.c Update bcachefs sources to 24bdb6fed91c bcachefs: bch2_btree_id_str() 2023-10-19 22:56:59 -04:00
cmd_migrate.c Avoiding picking different bucket sizes for different devices 2023-11-06 20:47:48 -05:00
cmd_option.c Use bch2_err_str() instead of strerror() 2022-12-19 16:05:54 -05:00
cmd_run.c Update bcachefs sources to 0906b1fb49 bcachefs: fixes for 32 bit/big endian machines 2018-05-17 02:36:19 -04:00
cmd_subvolume.c Add more specific subcommand usage messages 2021-11-01 08:12:35 -06:00
cmd_version.c Version is now specified in the makefile 2023-11-16 15:24:22 -05:00
cmds.h delete dead code 2023-11-16 17:54:06 -05:00
config.h Redo lots of stuff 2016-03-11 21:18:42 -09:00
COPYING bcache-tools are GPL 2013-07-17 13:13:31 -07:00
crypto.c Update bcachefs sources to a180af9dd349 bcachefs: Refactor memcpy into direct assignment 2023-10-18 22:14:53 -04:00
crypto.h cmd_unlock: Add -k argument to specify keyring 2022-05-19 16:01:51 -04:00
default.nix nix: fix build add overlay and formatter to flake 2023-11-09 22:09:33 +01:00
flake.lock nix: fix build add overlay and formatter to flake 2023-11-09 22:09:33 +01:00
flake.nix nix: add bcachefs-fuse package 2023-11-20 15:13:17 -05:00
INSTALL.md docs: mention that libclang is required 2023-11-24 20:09:46 -05:00
libbcachefs.c Avoiding picking different bucket sizes for different devices 2023-11-06 20:47:48 -05:00
libbcachefs.h Avoiding picking different bucket sizes for different devices 2023-11-06 20:47:48 -05:00
make-release-tarball.sh Create COPYING.rust-dependencies in release tarballs 2023-11-16 17:54:06 -05:00
Makefile Update bcachefs sources to 783085c3cc44 kbuild: Allow gcov to be enabled on the command line 2023-11-22 16:55:06 -05:00
Makefile.compiler Update bcachefs sources to f9c612bbf82d bcachefs: Fixes for building in userspace 2023-09-23 20:03:23 -04:00
mount.bcachefs.sh Add a shell script version of mount.bcachefs 2020-08-24 23:17:17 -04:00
qcow2.c deleted unused path to device in get_size, get_blocksize 2023-10-08 21:06:07 -04:00
qcow2.h cmd_migrate 2017-03-09 09:14:11 -09:00
README.md Update docs 2023-03-07 12:46:53 -05:00
tools-util.c bcachefs-tools: fix broken libblkid superblock wipe 2023-11-17 15:09:27 -05:00
tools-util.h Change open_for_format to the block io api 2023-10-08 21:06:07 -04:00

bcachefs-tools

Userspace tools and docs for bcachefs

Bcachefs is an advanced new filesystem for Linux, with an emphasis on reliability and robustness and the complete set of features one would expect from a modern filesystem.

This repo primarily consists of the following:

  • bcachefs tool, the reason this repo exists.
  • {mkfs,mount,fsck}.bcachefs utils, which is just wrappers calling the corresponding subcommands in the main tool
  • docs in the form of man-pages and a user manual

Please refer to the main site for getting started An in-depth user manual is (also) found on the official website

Build and install

Refer to INSTALL.md

Bug reports and contributions