GNOME Bugzilla – Bug 741408
incorrect disk space shows in Details page (btrfs)
Last modified: 2014-12-12 08:17:09 UTC
Created attachment 292556 [details] bug screen see my screen seems g-c-c summarizes btrfs subvolumes. I think we should check disk space like gnome-disks doing. just check what device we're using and check it's space as gnome-disks doing
https://git.gnome.org/browse/gnome-control-center/tree/panels/info/cc-info-panel.c#n493 we're adding all size of all filesystems. I think we should check UUID and if that same - just ignore, because BTRFS subvolumes don't splitting space or something like this.
Im thinking to get https://developer.gnome.org/gio/stable/GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-DEVICE:CAPS every device and store in private struct. And if we're already passed this device don't plus to sum_bytes.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 708786 ***