summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorGoffredo Baroncelli <kreijack@libero.it>2014-02-13 20:19:01 +0100
committerDavid Sterba <dsterba@suse.cz>2014-12-04 16:48:09 +0100
commite12e91e8596de39802d30753a8afaf5be9e86fd3 (patch)
tree8373136801fd0fcc6e5a0f645f2feab1d65538d4 /utils.h
parent3d1ed6d152107b03c26935a8486af47e22685150 (diff)
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 <kreijack@inwind.it> [code moved under #if 0 instead of deletion] Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index 6948adb5..9364f2a8 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);