diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-04-22 14:06:31 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2008-04-22 14:06:31 -0400 |
commit | 358564890ac230ccc8af2661268a6bcb0d6ea18f (patch) | |
tree | aea7067c1cc525b4c443fcb52920f1a34b08a935 /volumes.h | |
parent | b569dafbf2acfb99f8c0546ad28cb61f860f30db (diff) |
Add a command to show all of the btrfs filesystems on the box (btrfs-show)
Diffstat (limited to 'volumes.h')
-rw-r--r-- | volumes.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -28,6 +28,11 @@ struct btrfs_device { char *name; + /* these are read off the super block, only in the progs */ + char *label; + u64 total_devs; + u64 super_bytes_used; + /* the internal btrfs device id */ u64 devid; @@ -109,4 +114,5 @@ int btrfs_scan_one_device(int fd, const char *path, int btrfs_num_copies(struct btrfs_mapping_tree *map_tree, u64 logical, u64 len); int btrfs_bootstrap_super_map(struct btrfs_mapping_tree *map_tree, struct btrfs_fs_devices *fs_devices); +struct list_head *btrfs_scanned_uuids(void); #endif |