After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 741408 - incorrect disk space shows in Details page (btrfs)
incorrect disk space shows in Details page (btrfs)
Status: RESOLVED DUPLICATE of bug 708786
Product: gnome-control-center
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-12-11 17:45 UTC by Igor Gnatenko
Modified: 2014-12-12 08:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
bug screen (86.64 KB, image/png)
2014-12-11 17:45 UTC, Igor Gnatenko
Details

Description Igor Gnatenko 2014-12-11 17:45:40 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
Comment 1 Igor Gnatenko 2014-12-11 18:03:02 UTC
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.
Comment 2 Igor Gnatenko 2014-12-11 19:20:55 UTC
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.
Comment 3 Bastien Nocera 2014-12-12 08:17:09 UTC
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 ***