D11452: sanitizer: Improve device listing

Michael Heidelbach noreply at phabricator.kde.org
Sun Mar 18 11:34:01 UTC 2018


michaelh created this revision.
michaelh added reviewers: Baloo, Frameworks.
Restricted Application added projects: Frameworks, Baloo.
michaelh requested review of this revision.

REVISION SUMMARY
  Print more info about devices

TEST PLAN
  Example:
  
    $ baloodb devices
    Listing database contents...
    ! device:41 indexed-items:40
    + device:43 indexed-items:76 fstype:cifs fsname://circulans/VideoPartition mount:/media/circulans/videopart
    + device:42 indexed-items:3627 fstype:fusectl fsname:fusectl mount:/sys/fs/fuse/connections
    + device:22 indexed-items:3 fstype:tmpfs fsname:tmpfs mount:/run
    ! device:2098 indexed-items:1450
    ! device:2086 indexed-items:220
    ! device:2069 indexed-items:1533
    ! device:2064 indexed-items:99
    ! device:2066 indexed-items:11664
    + device:2053 indexed-items:6369 fstype:ext4 fsname:/dev/sda5 mount:/home
    + device:2049 indexed-items:22 fstype:ext4 fsname:/dev/sda1 mount:/
    Found 11 matching items
    Elapsed: 7.26369 secs

REPOSITORY
  R293 Baloo

BRANCH
  sanitize-devices (branched from master)

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

AFFECTED FILES
  src/engine/databasesanitizer.cpp
  src/engine/fsutils.cpp
  src/engine/fsutils.h
  src/engine/idutils.h
  src/tools/baloodb/main.cpp

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


More information about the Kde-frameworks-devel mailing list