TruongSinh Tran-Nguyen c1a8e27a3f chore(rust): add opt_get! and expose some FMODE_* as Rust const
In an effort to rewrite `bch2_read_super` from C to Rust,
it is neccessary to have `opt_get!` macro defined, and some
FMODE_* consts (defined as macro in `include/linux/blkdev.h`)
defined as Rust const.

Bindgen is currently unable to exapnd C functional macro [1],
this this commit use the workaround as introduced in [2].

[1] https://github.com/rust-lang/rust-bindgen/issues/753
[2] https://github.com/rust-lang/rust-bindgen/issues/753#issuecomment-608546390

Signed-off-by: TruongSinh Tran-Nguyen <i@truongsinh.pro>
2023-04-27 19:23:17 -04:00
2023-03-19 19:24:28 +01:00
2023-01-15 22:20:13 +01:00
2023-04-26 10:44:49 -04:00
2018-11-23 02:10:44 -05:00
2022-03-24 11:41:10 -06:00
2023-01-03 16:58:55 +13:00
2023-03-08 21:00:51 +01:00
2023-04-20 12:36:16 -04:00
2022-05-26 15:40:08 -04:00
2022-05-26 15:40:08 -04:00
2016-03-11 21:18:42 -09:00
2013-07-17 13:13:31 -07:00
2023-01-03 16:58:55 +13:00
2023-04-20 12:18:59 -04:00
2023-04-20 12:36:16 -04:00
2017-03-09 09:14:11 -09:00
2023-03-07 12:46:53 -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

Description
Languages
C 95.6%
C++ 2%
Rust 1.4%
Roff 0.4%
Nix 0.2%
Other 0.4%