diff options
author | Goffredo Baroncelli <kreijack@libero.it> | 2014-02-13 20:19:01 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-12-04 16:48:09 +0100 |
commit | e12e91e8596de39802d30753a8afaf5be9e86fd3 (patch) | |
tree | 8373136801fd0fcc6e5a0f645f2feab1d65538d4 /utils.h | |
parent | 3d1ed6d152107b03c26935a8486af47e22685150 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |