Userspace utilities to manage btrfs filesystems
Go to file
Anand Jain 5333445574 btrfs-progs: congregate dev scan
the dev scan to find btrfs is performed at two locations
all most the same way one at filesystem show and another
at device scan. They both follow the same steps. This
patch does not alter anything except that it brings these
two same logic into the function scan_for_btrfs so that
we can play tweaking it.

the patch which recommends to use /dev/mapper
will also need it

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
2013-08-09 14:32:36 +02:00
man btrfs-progs: label option in btrfs filesystem show is not coded 2013-08-09 14:32:36 +02:00
.gitignore btrfs-progs: Fix automatic prerequisite generation 2013-08-09 14:32:34 +02:00
.hgignore Add .hgignore file to ignore verison.h 2008-07-23 11:36:13 -04:00
.hgtags Added tag v0.16 for changeset 2b26e4f8c71e 2008-08-04 15:46:36 -04:00
bcp Btrfs-progs: Correct path munging in bcp 2011-10-25 09:18:58 -04:00
bitops.h Btrfs-progs: add a free space cache checker to fsck V2 2013-04-23 18:56:21 +02:00
btrfs-calc-size.c btrfs-progs: per-thread, per-call pretty buffer 2013-08-09 14:32:33 +02:00
btrfs-convert.c Btrfs-progs: return error on write failure in make_btrfs() 2013-08-09 14:32:33 +02:00
btrfs-corrupt-block.c btrfs-progs: Add chunk corrupt funtion to btrfs-corrupt-block 2013-08-09 14:32:35 +02:00
btrfs-crc.c btrfs-progs: Fix getopt on arm/ppc platforms 2013-08-09 14:32:34 +02:00
btrfs-debug-tree.c Btrfs-progs: add option to btrfs-debug-tree to print uuid tree only 2013-08-09 14:32:32 +02:00
btrfs-find-root.c btrfs-progs: Cleanup for using BTRFS_SETGET_STACK instead of raw convert 2013-08-09 14:32:32 +02:00
btrfs-fragments.c Btrfs-progs: fix closing of opendir() 2013-08-09 14:32:36 +02:00
btrfs-image.c btrfs-progs: Cleanup for using BTRFS_SETGET_STACK instead of raw convert 2013-08-09 14:32:32 +02:00
btrfs-list.c btrfs-progs: use reentrant localtime 2013-08-09 14:32:35 +02:00
btrfs-list.h btrfs-progs: libify some parts of btrfs-progs 2013-02-27 15:24:25 +01:00
btrfs-map-logical.c Add basic RAID[56] support 2013-02-01 14:22:07 -05:00
btrfs-select-super.c btrfs-progs: btrfs-select-super output is confusing when it fails 2013-04-23 18:56:20 +02:00
btrfs-show-super.c btrfs-progs: Cleanup for using BTRFS_SETGET_STACK instead of raw convert 2013-08-09 14:32:32 +02:00
btrfs-zero-log.c btrfs-progs: separate super_copy out of fs_info 2013-03-10 16:12:21 +01:00
btrfs.c Btrfs-progs: Add chunk recover function - using old chunk items 2013-07-03 14:06:55 -04:00
btrfsck.h Btrfs-progs: Add chunk rebuild function for RAID1/SINGLE/DUP 2013-07-03 14:06:55 -04:00
btrfstune.c Btrfs-progs: add a free space cache checker to fsck V2 2013-04-23 18:56:21 +02:00
cmds-balance.c Btrfs-progs: fix closing of opendir() 2013-08-09 14:32:36 +02:00
cmds-check.c Btrfs-progs: commit the csum_root if we do --init-csum-tree 2013-08-09 14:32:31 +02:00
cmds-chunk.c Btrfs-progs: recover raid0/raid10/raid5/raid6 metadata chunk 2013-07-03 14:06:55 -04:00
cmds-device.c btrfs-progs: congregate dev scan 2013-08-09 14:32:36 +02:00
cmds-filesystem.c btrfs-progs: congregate dev scan 2013-08-09 14:32:36 +02:00
cmds-inspect.c Btrfs-progs: fix closing of opendir() 2013-08-09 14:32:36 +02:00
cmds-qgroup.c Btrfs-progs: fix closing of opendir() 2013-08-09 14:32:36 +02:00
cmds-quota.c Btrfs-progs: fix closing of opendir() 2013-08-09 14:32:36 +02:00
cmds-receive.c Btrfs-progs: use UUID tree for send/receive 2013-08-09 14:32:31 +02:00
cmds-replace.c Btrfs-progs: fix closing of opendir() 2013-08-09 14:32:36 +02:00
cmds-restore.c Btrfs-progs: restore can now recover file xattrs 2013-08-09 14:32:35 +02:00
cmds-scrub.c Btrfs-progs: fix closing of opendir() 2013-08-09 14:32:36 +02:00
cmds-send.c Btrfs-progs: use UUID tree for send/receive 2013-08-09 14:32:31 +02:00
cmds-subvolume.c Btrfs-progs: fix closing of opendir() 2013-08-09 14:32:36 +02:00
commands.h Btrfs-progs: Add chunk recover function - using old chunk items 2013-07-03 14:06:55 -04:00
COPYING fix COPYING 2007-06-12 15:41:08 -04:00
crc32c.c Btrfs-progs: fix several complie warning 2012-10-04 16:26:31 -04:00
crc32c.h btrfs-progs: libify some parts of btrfs-progs 2013-02-27 15:24:25 +01:00
ctree.c Btrfs-progs: remove btrfs_init_path calls from ctree.c 2013-08-09 14:32:28 +02:00
ctree.h btrfs-progs: Cleanup for using BTRFS_SETGET_STACK instead of raw convert 2013-08-09 14:32:32 +02: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-progs: Handle errors returned from open_ctree 2013-01-21 18:27:54 +01:00
disk-io.c btrfs-progs: btrfs_scan_for_fsid doesn't need all the arguments 2013-08-09 14:32:36 +02:00
disk-io.h Merge branch 'liubo-image-restore' 2013-07-03 14:24:43 -04:00
extent_io.c btrfs-progs: fix the comment for extent_io.c/clear_extent_bits 2013-08-09 14:32:32 +02:00
extent_io.h Merge branch 'liubo-image-restore' 2013-07-03 14:24:43 -04:00
extent-cache.c Btrfs-progs: extend the extent cache for the device extent 2013-07-03 14:06:54 -04:00
extent-cache.h Btrfs-progs: extend the extent cache for the device extent 2013-07-03 14:06:54 -04:00
extent-tree.c Btrfs-progs: add missing path release 2013-08-09 14:32:34 +02:00
file-item.c btrfs-progs: separate super_copy out of fs_info 2013-03-10 16:12:21 +01:00
free-space-cache.c Btrfs-progs: add a newline to a free space cache message 2013-06-19 13:52:28 -04:00
free-space-cache.h Btrfs-progs: add a free space cache checker to fsck V2 2013-04-23 18:56:21 +02:00
hash.h Switch btrfs_name_hash() to crc32c 2008-08-20 20:11:23 -04:00
hasher.c Unaligned access fixes 2008-02-15 11:19:58 -05:00
help.c Btrfs-progs: allow multi-line command group synopsis 2012-02-08 18:55:51 +02:00
inode-item.c btrfs-progs new dir index support 2008-07-24 12:13:32 -04:00
inode-map.c btrfs-progs: Fix printf format casting errors 2008-04-01 10:52:22 -04:00
INSTALL Removing btrfsctl, btrfs-vol, btrfs-show 2013-03-19 18:21:41 +01:00
ioctl-test.c Test the additional ioctl. 2011-10-25 09:18:58 -04:00
ioctl.h Btrfs-progs: add send option for using new end-cmd semantic 2013-08-09 14:32:29 +02:00
kerncompat.h btrfs-progs: fix duplicate __[su]* typedefs on ppc64 2013-08-09 14:32:34 +02:00
list.h Btrfs-progs: introduce list_{first, next}_entry/list_splice_tail{_init} 2013-07-03 14:06:55 -04:00
Makefile btrfs-progs: Fix automatic prerequisite generation 2013-08-09 14:32:34 +02:00
math.h Btrfs-progs: cleanup duplicated division functions 2013-08-09 14:32:28 +02:00
mkfs.c Btrfs-progs: return error on write failure in make_btrfs() 2013-08-09 14:32:33 +02:00
print-tree.c Btrfs-progs: Support UUID tree and UUID items in btrfs-debug-tree 2013-08-09 14:32:31 +02: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
qgroup.c Btrfs-progs: clean up reduplicate parse_qgroupid() and replace atoi with strtoull 2013-01-21 18:28:01 +01:00
qgroup.h Btrfs-progs: clean up reduplicate parse_qgroupid() and replace atoi with strtoull 2013-01-21 18:28:01 +01:00
quick-test.c btrfs-progs: Handle errors returned from open_ctree 2013-01-21 18:27:54 +01:00
radix-tree.c Make btrfs-progs compile with -fstrict-aliasing (included in -O2) again. 2007-09-14 10:31:06 -04:00
radix-tree.h btrfs-progs: libify some parts of btrfs-progs 2013-02-27 15:24:25 +01:00
raid6.c btrfs-progs: include kerncompat.h in raid6.c, define __attribute_const__ 2013-02-03 12:39:16 -05:00
random-test.c btrfs-progs: Handle errors returned from open_ctree 2013-01-21 18:27:54 +01:00
rbtree.c Btrfs-progs: introduce common insert/search/delete functions for rb-tree 2013-07-03 14:06:54 -04:00
rbtree.h Btrfs-progs: introduce common insert/search/delete functions for rb-tree 2013-07-03 14:06:54 -04:00
repair.c Btrfs-progs: introduce common insert/search/delete functions for rb-tree 2013-07-03 14:06:54 -04:00
repair.h Btrfsck: add the ability to prune corrupt extent allocation tree blocks 2012-02-21 14:37:21 -05:00
root-tree.c Btrfs-progs: remove some dead/unbuilt code 2013-08-09 14:32:28 +02:00
send-stream.c Btrfs-progs: remove some unused code 2013-04-23 18:56:25 +02:00
send-stream.h Btrfs-progs: btrfs-receive optionally honors the end-cmd 2013-04-23 18:56:24 +02:00
send-test.c btrfs-progs: fix send-test build 2013-04-23 18:56:27 +02:00
send-utils.c Btrfs-progs: use UUID tree for send/receive 2013-08-09 14:32:31 +02:00
send-utils.h Btrfs-progs: use UUID tree for send/receive 2013-08-09 14:32:31 +02:00
send.h btrfs-progs: make libbtrfs usable from C++ 2013-02-19 11:15:30 +01:00
show-blocks Fix showblocks to display different colors for different metadata roots 2009-03-09 13:00:44 -04:00
transaction.h btrfs-progs: add malloc check in transaction.h/btrfs_start_transaction 2013-01-18 18:27:21 +01:00
utils.c btrfs-progs: congregate dev scan 2013-08-09 14:32:36 +02:00
utils.h btrfs-progs: congregate dev scan 2013-08-09 14:32:36 +02:00
uuid-tree.c Btrfs-progs: add UUID tree lookup methods 2013-08-09 14:32:31 +02:00
version.sh version.sh: fix version when built from tarball 2013-01-17 18:13:03 +01:00
volumes.c Btrfs-progs: optimize function btrfs_read_chunk_tree 2013-08-09 14:32:34 +02:00
volumes.h Merge branch 'liubo-image-restore' 2013-07-03 14:24:43 -04:00