Go to file
Ariel Miculas d750b2b98b bcachefs: allow initializing a bcachefs filesystem from a source directory
Add a new source command line argument which specifies the directory
tree that will be copied onto the newly formatted bcachefs filesystem.

This commit also fixes an issue in copy_link where uninitialized data is
copied into the symlink because of a round_up of the buffer size.

Signed-off-by: Ariel Miculas <ariel.miculas@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-06-16 14:08:52 -04:00
.github workflows: add monthly flake lock update workflow 2024-05-29 01:12:56 +05:30
bch_bindgen Update bcachefs sources to f81dc88f0c80 bcachefs: bch2_btree_insert() - add btree iter flags 2024-06-03 20:08:06 -04:00
c_src bcachefs: allow initializing a bcachefs filesystem from a source directory 2024-06-16 14:08:52 -04:00
ccan treewide, docs: fix typos 2024-05-29 09:22:09 +05:30
debian treewide, docs: fix typos 2024-05-29 09:22:09 +05:30
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 f81dc88f0c80 bcachefs: bch2_btree_insert() - add btree iter flags 2024-06-03 20:08:06 -04:00
initramfs Make initramfs hook install mount.bcachefs 2024-02-04 14:44:54 +01:00
libbcachefs bcachefs: allow initializing a bcachefs filesystem from a source directory 2024-06-16 14:08:52 -04:00
linux fix missing include 2024-06-16 14:08:47 -04:00
packaging treewide, docs: fix typos 2024-05-29 09:22:09 +05:30
raid Move c_src dirs back to toplevel 2024-01-16 17:17:23 -05:00
src fix(subvol): canonicalize requires path to exist 2024-06-10 23:07:27 +02:00
tests Test 'fix'? 2024-02-23 08:37:23 +01:00
udev
.bcachefs_revision Update bcachefs sources to 4f69e2d39ad3 bcachefs: bch2_btree_insert() - add btree iter flags 2024-06-05 10:53:01 -04:00
.editorconfig chore(editorconfig): add *.y{,a}ml 2024-05-22 23:20:16 +02:00
.gitignore workflows: add monthly flake lock update workflow 2024-05-29 01:12:56 +05:30
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: rewrite key.rs 2024-05-30 22:26:06 +02:00
Cargo.toml feat: rewrite key.rs 2024-05-30 22:26:06 +02:00
COPYING
default.nix style(nix): run nix fmt 2024-05-22 22:35:05 +02:00
flake.lock flake.lock: Update 2024-06-10 22:31:10 +00:00
flake.nix build(nix): use actual commit rev in version 2024-06-10 00:04:13 +02:00
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 Update bcachefs sources to 0389c09b2fb7 bcachefs: Fix bio alloc in check_extent_checksum() 2024-04-17 17:34:56 -04:00
Makefile.compiler Update bcachefs sources to 09d4c2acbf4c bcachefs: reconstruct_inode() 2024-04-03 17:34:02 -04:00
mount.bcachefs.sh
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