search for: 2b95d3112

Displaying 1 result from an estimated 1 matches for "2b95d3112".

2020 Feb 26
1
[PATCH] filesystems: fix size reporting for filesystems
...mounting fails, fall back to the previous method, which is still a good value in the majority of the cases. Thanks to: Erik Skultety. --- cat/filesystems.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/cat/filesystems.c b/cat/filesystems.c index cec3c4e47..2b95d3112 100644 --- a/cat/filesystems.c +++ b/cat/filesystems.c @@ -508,7 +508,23 @@ do_output_filesystems (void) guestfs_pop_error_handler (g); if (!device || !subvolume) { - size = guestfs_blockdev_getsize64 (g, fses[i]); + /* Try mounting and stating the device. This might...