Go to file
Kent Overstreet 039fd4064a cmd_mount: Use noxcl for opening block devices
We're only reading the superblocks, no need for O_EXCL - and this fixes
mounts failing because we're still holding the devices open.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-01-15 12:53:52 -05:00
.github fix packaging 2023-12-10 12:16:00 -05:00
ccan Update bcachefs sources to f638850417 bcachefs: bch2_trans_log_msg() 2022-03-30 17:40:37 -04:00
debian fix packaging 2023-12-10 12:16:00 -05:00
doc Add additional information about encryption 2023-07-10 16:03:30 -04:00
fsck fix fsck service location 2024-01-11 23:55:39 -08:00
include kill bd_buffered_fd 2024-01-10 22:27:22 -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 cbb2e45634dd bcachefs: fix simulateously upgrading & downgrading 2024-01-05 20:00:08 -05:00
linux kill bd_buffered_fd 2024-01-10 22:27:22 -05:00
packaging packaging: Update RPM spec to use %_libexecdir for libexec files 2023-12-24 09:09:56 -05:00
raid snapraid 2018-11-23 02:10:44 -05:00
rust-src cmd_mount: Use noxcl for opening block devices 2024-01-15 12:53:52 -05:00
tests Add valgrind suppressions: 2022-03-24 11:41:10 -06:00
udev fix udev rules path 2023-12-06 15:41:05 -05:00
.bcachefs_revision Update bcachefs sources to cbb2e45634dd bcachefs: fix simulateously upgrading & downgrading 2024-01-05 20:00:08 -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 man: Fix cmd-option format 2023-11-27 21:04:03 -05:00
bcachefs.c fix invalid write in pop_cmd() 2024-01-12 15:04:13 -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_counters.c kill bd_buffered_fd 2024-01-10 22:27:22 -05: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 kill bd_buffered_fd 2024-01-10 22:27:22 -05:00
cmd_dump.c kill bd_buffered_fd 2024-01-10 22:27:22 -05:00
cmd_format.c cmd_show_super: --field-only 2024-01-05 13:01:34 -05:00
cmd_fs.c Update bcachefs sources to 1a739db0b256 bcachefs; guard against overflow in btree node split 2023-12-18 23:21:21 -05:00
cmd_fsck.c improve do_splice() 2024-01-03 20:30:44 -05:00
cmd_fusemount.c Multiple small fuse fixes for write, api, and hardlink 2023-12-07 15:17:34 +02: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 cmd_fsck can now take colon separated devices 2023-12-22 23:30:55 -05:00
cmd_list_journal.c fix list_journal for nochanges 2024-01-03 23:14:56 -05:00
cmd_migrate.c cmd_migrate: Fix fsck invocation 2024-01-12 15:04:09 -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 create common entry point for Rust commands 2024-01-07 21:38:31 -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: add llvm-config dependency for arch, fedora 2023-12-19 19:52:37 -05:00
libbcachefs.c init_layout(): fix rounding 2024-01-12 13:09:51 -05:00
libbcachefs.h Convert to BCH_IOCTL_DEV_USAGE_V2 2023-11-27 21:04:03 -05:00
make-release-tarball.sh Create COPYING.rust-dependencies in release tarballs 2023-11-16 17:54:06 -05:00
Makefile Makefile, fsck: Use libexec instead of lib 2023-12-24 08:34:16 -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 Update bcachefs sources to 1a739db0b256 bcachefs; guard against overflow in btree node split 2023-12-18 23:21:21 -05: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 kill bd_buffered_fd 2024-01-10 22:27:22 -05:00
tools-util.h cmd_fsck can now take colon separated devices 2023-12-22 23:30:55 -05: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