D15146: RFC: Don't consider KDiskFreeSpaceInfo valid if all relevant statvfs fields are zero

Kai Uwe Broulik noreply at phabricator.kde.org
Fri Aug 31 09:25:04 BST 2018


broulik abandoned this revision.
broulik added a comment.


  It seems by adding gvfsd support for `KMountPoint` this has become obsolete.
  
    $ df /run/user/1000/gvfs/
    Filesystem     1K-blocks  Used Available Use% Mounted on
    gvfsd-fuse             0     0         0    - /run/user/1000/gvfs
  
  but the mount does report some free space
  
    $ df /run/user/1000/gvfs/smb-share\:server\=localhost\,share\=smb1/
    Filesystem     1K-blocks      Used Available Use% Mounted on
    gvfsd-fuse     478636952 468610296  10026656  98% /run/user/1000/gvfs
  
  gvfs uses a single fuse mount which then creates subdirectories for every mount.
  `KDiskFreeSpaceInfo` checks the mountpoint, so it would always check the `gvfs` root directory which naturally doesn't have free space information available.
  I will discard this patch now as it would just have hide a different bug.

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D15146

To: broulik, dfaure, ngraham, fvogt
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180831/6fa05ee3/attachment.html>


More information about the Kde-frameworks-devel mailing list