From e12e91e8596de39802d30753a8afaf5be9e86fd3 Mon Sep 17 00:00:00 2001 From: Goffredo Baroncelli Date: Thu, 13 Feb 2014 20:19:01 +0100 Subject: btrfs-progs: Enhance the command btrfs filesystem df Enhance the command "btrfs filesystem df" to show space usage information for a mount point(s). It shows also an estimation of the space available, on the basis of the current one used. Signed-off-by: Goffredo Baroncelli [code moved under #if 0 instead of deletion] Signed-off-by: David Sterba --- utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'utils.h') diff --git a/utils.h b/utils.h index 6948adb..9364f2a 100644 --- a/utils.h +++ b/utils.h @@ -134,6 +134,7 @@ int find_mount_root(const char *path, char **mount_root); int get_device_info(int fd, u64 devid, struct btrfs_ioctl_dev_info_args *di_args); int test_uuid_unique(char *fs_uuid); +u64 disk_size(char *path); int test_minimum_size(const char *file, u32 leafsize); int test_issubvolname(const char *name); -- cgit v1.2.1