Userspace utilities to manage btrfs filesystems
Go to file
Jan Schmidt f99b1f1a63 Btrfs-progs: replace find_mount_root from send code
find_mount_root had the problem that it tried to conclude from a file system
path to a mount point, taking the fsid as an indicator. This only works if
no two subvolumes (sharing the same btrfs fsid) are mounted in the same
hierarchy.

Now instead, we're parsing /etc/mtab and look for the longest match.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
2012-08-20 13:40:18 +02:00
man btrfs-progs: mkfs: add option to skip trim 2012-07-06 10:11:10 -04:00
.gitignore btrfs-progs: add a recovery utility to pull files from damanged filesystems 2011-10-27 12:49:54 -04:00
.hgignore
.hgtags
COPYING
INSTALL btrfs-progs-unstable: replace debug-tree to btrfs-debug-tree in INSTALL 2011-10-25 09:18:59 -04:00
Makefile Switch to -O1 for optimizations to enable FORTIFY_SOURCE 2012-07-26 14:51:27 -04:00
bcp Btrfs-progs: Correct path munging in bcp 2011-10-25 09:18:58 -04:00
bit-radix.c
bit-radix.h
btrfs-corrupt-block.c Btrfs-progs, btrfs-corrupt-block: fix the wrong usage 2012-07-03 16:27:46 -04:00
btrfs-defrag.c new util: 'btrfs' 2010-03-11 13:45:47 -05:00
btrfs-image.c Mixed back reference (FORWARD ROLLING FORMAT CHANGE) 2009-06-08 13:30:36 -04:00
btrfs-list.c Btrfs: fix off by one in null termination 2012-07-05 14:58:51 -04:00
btrfs-map-logical.c Btrfs-progs, btrfs-map-logical: Fix typo in usage 2012-07-03 16:27:46 -04:00
btrfs-select-super.c btrfsck: decode error properly 2011-10-25 09:18:59 -04:00
btrfs-show.c Deprecate btrfsctl, btrfs-show, btrfs-vol 2011-10-25 09:18:31 -04:00
btrfs-vol.c Deprecate btrfsctl, btrfs-show, btrfs-vol 2011-10-25 09:18:31 -04:00
btrfs-zero-log.c btrfs-progs: make sure btrfs-zero-log writes something 2011-11-21 10:27:17 -05:00
btrfs.c Use intel hardware crc32c where available 2012-07-26 14:51:27 -04:00
btrfsck.c Btrfs-progs: fix btrfsck's snapshot wrong "unresolved refs" 2012-07-03 16:27:46 -04:00
btrfsctl.c avoid several strncpy-induced buffer overruns 2012-06-05 19:56:20 +01:00
btrfslabel.c Fix segmentation fault when opening invalid file system 2012-07-03 16:27:46 -04:00
btrfslabel.h Add the "btrfs filesystem label" command 2011-10-25 09:18:31 -04:00
btrfstune.c
calc-size.c btrfs-progs: add a recovery utility to pull files from damanged filesystems 2011-10-27 12:49:54 -04:00
cmds-balance.c Btrfs-progs: allow multi-line command group synopsis 2012-02-08 18:55:51 +02:00
cmds-device.c avoid several strncpy-induced buffer overruns 2012-06-05 19:56:20 +01:00
cmds-filesystem.c btrfs-progs: Update resize documentation 2012-07-03 16:27:46 -04:00
cmds-inspect.c Btrfs-progs: allow multi-line command group synopsis 2012-02-08 18:55:51 +02:00
cmds-receive.c Btrfs-progs: add btrfs send/receive commands 2012-07-26 14:51:27 -04:00
cmds-scrub.c scrub_fs_info( ) file handle leaking 2012-07-03 16:27:46 -04:00
cmds-send.c Btrfs-progs: replace find_mount_root from send code 2012-08-20 13:40:18 +02:00
cmds-subvolume.c Fix "set-dafault" typo in cmds-subvolume.c 2012-07-03 16:27:46 -04:00
commands.h Btrfs-progs: add btrfs send/receive commands 2012-07-26 14:51:27 -04:00
common.c Btrfs-progs: rearrange files in the repo 2012-02-03 21:00:17 +02:00
convert.c Fix btrfs-convert, btrfs-restore and btrfs-find-root build 2012-02-08 23:11:49 -05:00
crc32c.c Use intel hardware crc32c where available 2012-07-26 14:51:27 -04:00
crc32c.h Use intel hardware crc32c where available 2012-07-26 14:51:27 -04:00
ctree.c btrfsck: add early code to handle corrupted block groups 2012-02-22 10:59:55 -05:00
ctree.h Btrfs-progs: update btrfs-progs for subvol uuid+times support 2012-07-26 14:51:17 -04:00
debug-tree.c Add open_ctree_fs_info for partial FS opens 2012-02-05 16:11:48 -05:00
dir-item.c Fix unused-but-set errors in gcc-4.6 2011-10-25 09:18:32 -04:00
dir-test.c Btrfs: add btrfs-debug-tree -b <block number> to print a single block 2010-04-06 09:30:17 -04:00
disk-io.c btrfsck: add --init-csum-tree to replace the csum root with an empty one 2012-02-09 10:38:05 -05:00
disk-io.h Add open_ctree_fs_info for partial FS opens 2012-02-05 16:11:48 -05:00
extent-cache.c Fix unused-but-set errors in gcc-4.6 2011-10-25 09:18:32 -04:00
extent-cache.h
extent-tree.c btrfsck: add early code to handle corrupted block groups 2012-02-22 10:59:55 -05:00
extent_io.c Allow extent_buffers to use more ram 2012-02-06 05:08:06 -05:00
extent_io.h
file-item.c btrfs-progs: Improvement for making btrfs image from source directory. 2011-10-25 09:19:00 -04:00
find-root.c btrfs-progs: add a recovery utility to pull files from damanged filesystems 2011-10-27 12:49:54 -04:00
hash.h
hasher.c
help.c Btrfs-progs: allow multi-line command group synopsis 2012-02-08 18:55:51 +02:00
inode-item.c
inode-map.c
ioctl-test.c Test the additional ioctl. 2011-10-25 09:18:58 -04:00
ioctl.h Btrfs-progs: update ioctl.h to support btrfs send ioctl 2012-07-26 14:51:27 -04:00
kerncompat.h multidevice support for check_mounted 2010-09-23 20:26:49 -04:00
list.h
mkfs.c btrfs-progs: mkfs: add option to skip trim 2012-07-06 10:11:10 -04:00
print-tree.c Btrfs-progs: update btrfs-progs for subvol uuid+times support 2012-07-26 14:51:17 -04:00
print-tree.h Btrfs: add btrfs-debug-tree -b <block number> to print a single block 2010-04-06 09:30:17 -04:00
quick-test.c Btrfs: add btrfs-debug-tree -b <block number> to print a single block 2010-04-06 09:30:17 -04:00
radix-tree.c
radix-tree.h
random-test.c Btrfs: add btrfs-debug-tree -b <block number> to print a single block 2010-04-06 09:30:17 -04:00
rbtree.c
rbtree.h
repair.c Btrfsck: add the ability to prune corrupt extent allocation tree blocks 2012-02-21 14:37:21 -05:00
repair.h Btrfsck: add the ability to prune corrupt extent allocation tree blocks 2012-02-21 14:37:21 -05:00
restore.c avoid several strncpy-induced buffer overruns 2012-06-05 19:56:20 +01:00
root-tree.c
send-stream.c Btrfs-progs: add btrfs send/receive commands 2012-07-26 14:51:27 -04:00
send-stream.h Btrfs-progs: add btrfs send/receive commands 2012-07-26 14:51:27 -04:00
send-utils.c Allow relative paths for btrfs send 2012-08-09 12:48:29 -04:00
send-utils.h Btrfs-progs: add btrfs send/receive commands 2012-07-26 14:51:27 -04:00
send.h Btrfs-progs: add btrfs send/receive commands 2012-07-26 14:51:27 -04:00
show-blocks Fix showblocks to display different colors for different metadata roots 2009-03-09 13:00:44 -04:00
transaction.h
utils.c btrfs-progs: mkfs: add option to skip trim 2012-07-06 10:11:10 -04:00
utils.h btrfs-progs: mkfs: add option to skip trim 2012-07-06 10:11:10 -04:00
version.sh btrfs-progs v0.19 2009-06-11 12:56:15 -04:00
volumes.c btrfsck: add early code to handle corrupted block groups 2012-02-22 10:59:55 -05:00
volumes.h btrfsck: add early code to handle corrupted block groups 2012-02-22 10:59:55 -05:00