Go to file
Austin Seipp 8acc54456e make: correct path to 'bcachefs' in mkfs/fsck scripts
The fsck and bcachefs scripts simply worked by running 'exec bcachefs
...', but this executes whatever is out of `$PATH`, which is likely not
what a user expected when working inside the bcachefs-tools tree.

This replaces the local uses of 'exec bcachefs' to use bash's
readlink/dirname builtins in order to find the location of the currently
executing wrapper, and execute the 'bcachefs' tool from there.

This allows executing these wrappers from anywhere, provided 'bcachefs'
is just right next to them, with the correct semantics.

As a result, this also allows removing a tiny hack from the Nix
expressions, allowing the included default.nix to use completely
standard mkDerivation builders, with no extra patch/fixup phases.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2017-12-17 12:46:45 -06:00
ccan Update for new superblock options; makefile improvements 2017-10-08 10:25:36 -08:00
debian
include Update bcachefs sources to e57b5958cf bcachefs: fix for building in userspace 2017-12-13 16:12:38 -05:00
libbcachefs Update bcachefs sources to e57b5958cf bcachefs: fix for building in userspace 2017-12-13 16:12:38 -05:00
linux Simple stupid memory reclaim code 2017-11-12 16:48:07 -05:00
nix nix: add nix expressions for development 2017-12-10 16:07:33 -06:00
.bcachefs_revision Update bcachefs sources to e57b5958cf bcachefs: fix for building in userspace 2017-12-13 16:12:38 -05:00
.gitignore nix: add nix expressions for development 2017-12-10 16:07:33 -06:00
bcachefs.8
bcachefs.c bcachefs: make usage output more consistent 2017-12-10 16:03:25 -06:00
cmd_assemble.c build: require explicit include paths for libbcachefs/ 2017-12-10 16:06:01 -06:00
cmd_debug.c build: require explicit include paths for libbcachefs/ 2017-12-10 16:06:01 -06:00
cmd_device.c build: require explicit include paths for libbcachefs/ 2017-12-10 16:06:01 -06:00
cmd_format.c build: require explicit include paths for libbcachefs/ 2017-12-10 16:06:01 -06:00
cmd_fs.c Fix some clang warnings 2017-04-04 06:43:08 -08:00
cmd_fsck.c build: require explicit include paths for libbcachefs/ 2017-12-10 16:06:01 -06:00
cmd_key.c build: require explicit include paths for libbcachefs/ 2017-12-10 16:06:01 -06:00
cmd_migrate.c Update bcachefs sources to e57b5958cf bcachefs: fix for building in userspace 2017-12-13 16:12:38 -05:00
cmd_run.c build: require explicit include paths for libbcachefs/ 2017-12-10 16:06:01 -06:00
cmds.h Add commands for changing and removing passphrase 2017-11-08 16:06:37 -09:00
config.h
COPYING
crypto.c build: require explicit include paths for libbcachefs/ 2017-12-10 16:06:01 -06:00
crypto.h Add commands for changing and removing passphrase 2017-11-08 16:06:37 -09:00
default.nix make: correct path to 'bcachefs' in mkfs/fsck scripts 2017-12-17 12:46:45 -06:00
fsck.bcachefs make: correct path to 'bcachefs' in mkfs/fsck scripts 2017-12-17 12:46:45 -06:00
INSTALL
libbcachefs.c fix default checksum types 2017-12-15 12:57:40 -05:00
libbcachefs.h fix default checksum types 2017-12-15 12:57:40 -05:00
Makefile build: require explicit include paths for libbcachefs/ 2017-12-10 16:06:01 -06:00
mkfs.bcachefs make: correct path to 'bcachefs' in mkfs/fsck scripts 2017-12-17 12:46:45 -06:00
qcow2.c
qcow2.h
README
tools-util.c build: require explicit include paths for libbcachefs/ 2017-12-10 16:06:01 -06:00
tools-util.h Faster crc32c 2017-10-08 10:20:36 -08:00

Userspace tools for bcachefs

This builds the bcachefs tool, which has a number of subcommands for formatting
and managing bcachefs filesystems:

bcachefs format
bcachefs unlock
bcachefs assemble
bcachefs incremental
etc.

Run bcachefs --help for full list of commands.