Userspace utilities to manage btrfs filesystems
Go to file
Eric Sandeen 1c1ac30d93 btrfs-progs: don't fall back to recursive /dev scan
If we didn't find what we are looking for in /proc/partitions,
we're not going to find it by scanning every node under /dev, either.

But that's just what btrfs_scan_for_fsid() does.

Remove that fallback; at that point btrfs_scan_for_fsid() just calls
scan_for_btrfs(), so remove the wrapper & call it directly.

Side note: so, these paths always use /proc/partitions, not libblkid.
Userspace-intiated scans default to libblkid.  I presume this is
part of the design, and intentional?  Anyway, not changing it now!

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
2014-10-10 09:32:13 +02:00
Documentation btrfs-progs: wait until all subvolumes are cleaned 2014-10-10 09:32:05 +02:00
tests
.gitignore
bcp
bitops.h
btrfs-calc-size.c btrfs-progs: use check_argc_* to check arg number for all tools 2014-08-22 15:07:02 +02:00
btrfs-convert.c btrfs-progs: Properly cast to avoid compiler warnings, fixes FTBFS on alpha and ia64 2014-10-01 16:33:26 +02:00
btrfs-corrupt-block.c btrfs-progs: corrupt-block: fix a delete and use bug corrupting extent tree 2014-09-14 13:12:27 +02:00
btrfs-crc.c btrfs-progs: use check_argc_* to check arg number for all tools 2014-08-22 15:07:02 +02:00
btrfs-debug-tree.c btrfs-progs: use check_argc_* to check arg number for all tools 2014-08-22 15:07:02 +02:00
btrfs-find-root.c btrfs-progs: use check_argc_* to check arg number for all tools 2014-08-22 15:07:02 +02:00
btrfs-fragments.c btrfs-progs: use check_argc_* to check arg number for all tools 2014-08-22 15:07:02 +02:00
btrfs-image.c btrfs-progs: add mount status check for btrfs-image 2014-08-22 15:07:03 +02:00
btrfs-list.c btrfs-progs: Add -R to list UUIDs of original received subvolume 2014-09-14 13:09:52 +02:00
btrfs-list.h btrfs-progs: Add -R to list UUIDs of original received subvolume 2014-09-14 13:09:52 +02:00
btrfs-map-logical.c btrfs-progs: use check_argc_* to check arg number for all tools 2014-08-22 15:07:02 +02:00
btrfs-select-super.c btrfs-progs: use check_argc_* to check arg number for all tools 2014-08-22 15:07:02 +02:00
btrfs-show-super.c btrfs-progs: Add human readable incompat flags output for btrfs-show-super 2014-10-01 16:34:22 +02:00
btrfs-zero-log.c btrfs-progs: use check_argc_* to check arg number for all tools 2014-08-22 15:07:02 +02:00
btrfs.c
btrfsck.h
btrfstune.c btrfs-progs: add ask_user confirmation for btrfstune clear seeding flag 2014-08-22 16:09:55 +02:00
chunk-recover.c btrfs-progs: Fix malloc size for superblock. 2014-10-10 09:09:47 +02:00
cmds-balance.c
cmds-check.c btrfs-progs: Check the csum tree node before go through the csum tree 2014-10-01 16:35:33 +02:00
cmds-device.c btrfs-progs: scan /proc/partitions not all of /dev with "-d" 2014-10-10 09:32:11 +02:00
cmds-filesystem.c btrfs-progs: scan /proc/partitions not all of /dev with "-d" 2014-10-10 09:32:11 +02:00
cmds-inspect.c Btrfs-progs: fix some build warnings on 32bit platform 2014-08-22 15:07:03 +02:00
cmds-property.c btrfs-progs: remove unnecessary return value check in btrfs-property 2014-08-22 15:07:03 +02:00
cmds-qgroup.c
cmds-quota.c
cmds-receive.c btrfs-progs: add missing descriptions of '--max-errors' in btrfs-receive documentation 2014-08-22 15:07:04 +02:00
cmds-replace.c
cmds-rescue.c
cmds-restore.c btrfs-progs: remove wrong set_argv0 for restore 2014-09-14 19:06:12 +02:00
cmds-scrub.c btrfs-progs: random fixes for usage string of btrfs scrub 2014-08-22 16:09:48 +02:00
cmds-send.c btrfs-progs: Check fstype in find_mount_root() 2014-08-22 15:07:02 +02:00
cmds-subvolume.c btrfs-progs: wait until all subvolumes are cleaned 2014-10-10 09:32:05 +02:00
commands.h
COPYING
crc32c.c
crc32c.h
ctree.c Btrfs-progs: check all slots in leaves 2014-10-01 16:59:10 +02:00
ctree.h btrfs-progs: read global reserve size from space infos 2014-08-28 02:03:33 +02:00
dir-item.c
dir-test.c
disk-io.c btrfs-progs: don't fall back to recursive /dev scan 2014-10-10 09:32:13 +02:00
disk-io.h btrfs-progs: kill BUG_ON in readahead_tree_block() 2014-09-14 13:19:44 +02:00
extent_io.c btrfs-progs: Do not free dirty extent buffer 2014-08-28 02:03:09 +02:00
extent_io.h
extent-cache.c
extent-cache.h
extent-tree.c btrfs-progs: remove unused flags for btrfs_path 2014-08-28 02:03:18 +02:00
file-item.c btrfs-progs: remove btrfs_release_path before btrfs_free_path 2014-09-14 19:06:12 +02:00
free-space-cache.c
free-space-cache.h
fsck.btrfs
hash.h
hasher.c
help.c
inode-item.c
inode-map.c btrfs-progs: remove btrfs_release_path before btrfs_free_path 2014-09-14 19:06:12 +02:00
INSTALL
ioctl-test.c
ioctl.h
kerncompat.h Btrfs-progs: make BUG*() be more verbose 2014-10-01 16:34:29 +02:00
list_sort.c
list_sort.h
list.h
Makefile Btrfs-progs: make BUG*() be more verbose 2014-10-01 16:34:29 +02:00
math.h
mkfs.c btrfs-progs: mkfs make --uuid require an argument 2014-08-22 16:09:56 +02:00
print-tree.c
print-tree.h
props.c
props.h
qgroup-verify.c Btrfs-progs: fix typos 2014-09-02 17:05:32 +02:00
qgroup-verify.h
qgroup.c
qgroup.h
quick-test.c
radix-tree.c
radix-tree.h
raid6.c
random-test.c
rbtree.c
rbtree.h
repair.c
repair.h
root-tree.c
send-stream.c btrfs-progs: fix unaligned loads in receive 2014-08-22 16:09:55 +02:00
send-stream.h btrfs-progs: library version defines 2014-09-02 17:04:15 +02:00
send-test.c
send-utils.c
send-utils.h
send.h
show-blocks
super-recover.c
transaction.h
ulist.c
ulist.h
utils-lib.c
utils.c btrfs-progs: don't fall back to recursive /dev scan 2014-10-10 09:32:13 +02:00
utils.h btrfs-progs: move test_isdir() to utils.c 2014-08-22 15:07:04 +02:00
uuid-tree.c
version.sh Btrfs progs v3.16.2 2014-10-01 18:07:59 +02:00
volumes.c Btrfs-progs: don't assert when we have an invalid mapping 2014-10-01 16:34:45 +02:00
volumes.h