diff --git a/barrel/show-filesystems.cc b/barrel/show-filesystems.cc index 5c9ebb1..d72a06d 100644 --- a/barrel/show-filesystems.cc +++ b/barrel/show-filesystems.cc @@ -30,6 +30,7 @@ #include #include #include +#include #include "Utils/GetOpts.h" #include "Utils/Table.h" @@ -182,6 +183,12 @@ namespace barrel { const Nfs* nfs = to_nfs(filesystem); row[Id::NAME] = nfs->get_server() + ":" + nfs->get_path(); + + if (filesystem->has_space_info()) + { + SpaceInfo space_info = nfs->detect_space_info(); + row[Id::SIZE] = format_size(space_info.size); + } } if (filesystem->has_mount_point())