Go to file
Kent Overstreet b00ac20e76 mount: When mounting a single device, make sure we mount the device specified
When mounting a multi device filesystem we have to scan for component
devices from the UUID, but we don't want to scan if it's a single device
filesystem; if the same filesystem is exposed via multiple device nodes
(e.g. dm faulty testing), the scan can pick up the wrong node.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-08-09 03:44:27 -04:00
.github ci: bump upload-artifact action 2024-07-17 11:24:07 +02:00
bch_bindgen bch_sb::number_of_devices() now calls proper c helper 2024-08-08 11:51:17 -04:00
c_src fixup! cmd_set_option: Can now set device options 2024-08-06 20:34:20 -04:00
ccan treewide, docs: fix typos 2024-05-29 09:22:09 +05:30
debian kill old python tests 2024-07-15 23:34:58 -04:00
doc treewide, docs: fix typos 2024-05-29 09:22:09 +05:30
fsck fix fsck service location 2024-01-11 23:55:39 -08:00
include Update bcachefs sources to dfc7b2c9433e bcachefs: bch2_sb_nr_devices() 2024-08-08 11:51:07 -04:00
initramfs Make initramfs hook install mount.bcachefs 2024-02-04 14:44:54 +01:00
libbcachefs Update bcachefs sources to dfc7b2c9433e bcachefs: bch2_sb_nr_devices() 2024-08-08 11:51:07 -04:00
linux provide atomic64_try_cmpxchg() for 32bit 2024-07-12 14:24:38 -04:00
packaging treewide, docs: fix typos 2024-05-29 09:22:09 +05:30
raid raid/cpu: Use memcpy() instead of type punning 2024-07-12 14:02:14 -04:00
src mount: When mounting a single device, make sure we mount the device specified 2024-08-09 03:44:27 -04:00
udev fix udev rules path 2023-12-06 15:41:05 -05:00
.bcachefs_revision Update bcachefs sources to dfc7b2c9433e bcachefs: bch2_sb_nr_devices() 2024-08-08 11:51:07 -04:00
.editorconfig chore(editorconfig): extend for sh scripts 2024-06-18 20:56:06 +02:00
.gitignore chore: rm leftover gitignore entries 2024-07-21 01:16:28 +02:00
bcachefs Add bcachefs command compatibility symlink 2024-01-29 14:29:35 +01:00
bcachefs.8 bcachefs.8: subvolume delete -> subvolume snapshot 2024-04-19 22:36:17 -03:00
build.rs Move c_src dirs back to toplevel 2024-01-16 17:17:23 -05:00
Cargo.lock feat(logging): switch to custom file:line format 2024-07-21 01:16:28 +02:00
Cargo.toml feat(logging): switch to custom file:line format 2024-07-21 01:16:28 +02:00
COPYING
default.nix style(nix): run nix fmt 2024-05-22 22:35:05 +02:00
flake.lock flake.lock: Update 2024-07-30 21:57:23 +00:00
flake.nix nix: add meta.mainProgram to allow directly running from this repo 2024-07-31 22:37:13 +05:30
INSTALL.md docs: udev.pc now in systemd-dev on Debian 2024-06-01 11:52:24 +02:00
make-release-tarball.sh move Rust sources to top level, C sources into c_src 2024-01-16 01:47:05 -05:00
Makefile bump version to 1.9.5 2024-07-18 20:48:14 -04:00
Makefile.compiler Update bcachefs sources to 09d4c2acbf4c bcachefs: reconstruct_inode() 2024-04-03 17:34:02 -04:00
mount.bcachefs.sh Add a shell script version of mount.bcachefs 2020-08-24 23:17:17 -04:00
README.md doc(versioning): document version semantics of this project 2024-01-26 21:04:45 -05:00
rustfmt.toml Format with rustfmt 2024-05-26 20:38:08 -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

Version semantics

The tools relies on an expected disk format structure which is reflected by your current kernel version. Disk format can be upgraded or downgraded automatically by the kernel, if needed.

  • Any patch-level change means no disk format change
  • Any minor-level change means a potential disk format change which is not breaking
  • Any major-level change means breaking changes

Build and install

Refer to INSTALL.md

Bug reports and contributions