From 358564890ac230ccc8af2661268a6bcb0d6ea18f Mon Sep 17 00:00:00 2001 From: Chris Mason Date: Tue, 22 Apr 2008 14:06:31 -0400 Subject: Add a command to show all of the btrfs filesystems on the box (btrfs-show) --- volumes.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'volumes.h') diff --git a/volumes.h b/volumes.h index 07d1c0a3..9aec0e3d 100644 --- a/volumes.h +++ b/volumes.h @@ -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 -- cgit v1.2.3