Roland Vet
16661be294
bch2_sb_is_encrypted{,_and_locked}
...
Specifically also mention locked
Signed-off-by: Roland Vet <RlndVt@protonmail.com>
2024-02-23 08:37:23 +01:00
Roland Vet
817e957697
Apply naming convention: passphrase->unlock->key->decrypt->fs
...
Signed-off-by: Roland Vet <RlndVt@protonmail.com>
2024-02-23 08:37:23 +01:00
Kent Overstreet
6ff5313cbe
cmd_fsck: Collect return code of kernel fsck with close()
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-02-17 23:31:47 -05:00
koverstreet
d1900b637e
Merge pull request #211 from oz123/master
...
Add option to read passphrase from a keyfile
2024-02-16 01:53:37 -05:00
Kent Overstreet
f2ba586baf
fix build on old gcc
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-02-13 23:27:04 -05:00
Kent Overstreet
da67fc2360
fsck: Fall back to userland fsck when probed for kernel fsck
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-02-13 22:05:09 -05:00
Kent Overstreet
cd4cbfc627
fsck: Automatically use kernel fsck when better version match
...
To avoid expensive version upgrades and downgrades - use the kernel
version of fsck when it's availale and a better match.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-02-12 15:52:26 -05:00
Kent Overstreet
b03f7b606f
kill_btree_node: fix return code
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-02-10 21:16:03 -05:00
Kent Overstreet
f3f005c76e
Update bcachefs sources to 50847e296b34 bcachefs: Check subvol <-> inode pointers in check_inode()
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-02-06 01:07:16 -05:00
Kent Overstreet
da4bbf51d0
cmd_list_journal: --transaction-filter now takes range
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-01-27 10:58:14 -05:00
Ryan Lahfa
76538fa923
feat(c_src): drop entirely subvolume subcommands
...
We get rid of it as we have now a pure Rust version.
Signed-off-by: Ryan Lahfa <bcachefs@lahfa.xyz>
2024-01-27 05:46:24 +01:00
Kent Overstreet
38b8d01c4c
Update bcachefs sources to 481b5f343248 bcachefs: Better error messages for missing inodes in fsck
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-01-24 17:36:11 -05:00
Oz Tiram
d0de5f03d2
Add option to read passphrase from a keyfile
...
Similar to the same option with luks. Ofcourse,
one can simply wrap bcachefs tool with a script and expect,
but this is a nicer way of doing things.
Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
2024-01-18 11:53:12 +01:00
Kent Overstreet
b5fd066153
Move c_src dirs back to toplevel
...
We just wanted c sourcefiles out of the top level, not c source
directories.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-01-16 17:17:23 -05:00
Thomas Bertschinger
f5baaf48e3
move Rust sources to top level, C sources into c_src
...
This moves the Rust sources out of rust_src/ and into the top level.
Running the bcachefs executable out of the development tree is now:
$ ./target/release/bcachefs command
or
$ cargo run --profile release -- command
instead of "./bcachefs command".
Building and installing is still:
$ make && make install
Signed-off-by: Thomas Bertschinger <tahbertschinger@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-01-16 01:47:05 -05:00