D11452: sanitizer: Improve device listing

Michael Heidelbach noreply at phabricator.kde.org
Thu Apr 12 18:55:04 UTC 2018


michaelh added a comment.


  Arrgh these deviceIds! Just realized this:
  When logged in as root on tty1
  
    $ baloodb devices 
    Listing database contents...
    + device:43 indexed-items:3658 fstype:tmpfs fsname:tmpfs mount:/run/user/0
    + device:2049 indexed-items:2 fstype:ext4 fsname:/dev/sda1 mount:/
  
  After logging out from tty1 and re-mounting smb share:
  
    $ baloodb devices 
    Listing database contents...
    + device:43 indexed-items:3658 fstype:cifs fsname://circulans/VideoPartition mount:/media/circulans/videopart
    + device:2049 indexed-items:2 fstype:ext4 fsname:/dev/sda1 mount:/
  
  Btw, dolphin also gets a little confused by this, showing the mounted share as unmounted in Places

INLINE COMMENTS

> bruns wrote in databasesanitizer.cpp:257
> Hm how about `device:2052 [0:804]` or `device:2052 [0000:0804]`?

That somehow sneaked back in. Your suggestion is good. I'll use it.

REPOSITORY
  R293 Baloo

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

To: michaelh, #baloo, #frameworks
Cc: ngraham, bruns, smithjd, ashaposhnikov, michaelh, astippich, spoorun, alexeymin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180412/a34a9d33/attachment.html>


More information about the Kde-frameworks-devel mailing list