fsck: add a service to schedule and run bcachefsck@ services

Create a script that looks for mounted bcachefs filesystems and tries to
run as many of them in parallel as possible without two different
scrubbers hitting the same low level block device.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
7 files changed
tree: 5ec511e61e655d48c19337a1076bbb62764ef05f
  1. .github/
  2. ccan/
  3. debian/
  4. doc/
  5. fsck/
  6. include/
  7. initramfs/
  8. libbcachefs/
  9. linux/
  10. packaging/
  11. raid/
  12. rust-src/
  13. tests/
  14. udev/
  15. .bcachefs_revision
  16. .editorconfig
  17. .gitignore
  18. bcachefs.8
  19. bcachefs.c
  20. build.nix
  21. cmd_assemble.c
  22. cmd_attr.c
  23. cmd_data.c
  24. cmd_device.c
  25. cmd_dump.c
  26. cmd_format.c
  27. cmd_fs.c
  28. cmd_fsck.c
  29. cmd_fusemount.c
  30. cmd_key.c
  31. cmd_kill_btree_node.c
  32. cmd_list_journal.c
  33. cmd_migrate.c
  34. cmd_option.c
  35. cmd_run.c
  36. cmd_subvolume.c
  37. cmd_version.c
  38. cmds.h
  39. config.h
  40. COPYING
  41. crypto.c
  42. crypto.h
  43. default.nix
  44. flake.lock
  45. flake.nix
  46. INSTALL.md
  47. libbcachefs.c
  48. libbcachefs.h
  49. make-release-tarball.sh
  50. Makefile
  51. Makefile.compiler
  52. mount.bcachefs.sh
  53. qcow2.c
  54. qcow2.h
  55. README.md
  56. tools-util.c
  57. tools-util.h
README.md

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