D14028: Ignore squashfs partitions
Harald Sitter
noreply at phabricator.kde.org
Tue Jul 10 20:46:50 BST 2018
sitter requested changes to this revision.
sitter added a comment.
This revision now requires changes to proceed.
I'd prefer something like
static const QSet<QByteArray> ignoreFS = { "tmpfs", "squashfs" };
for (const QStorageInfo &storage : QStorageInfo::mountedVolumes()) {
if (!storage.isReady() || ignoreFS.contains(storage.fileSystemType())) {
continue;
}
It's how we do it in the listers as well I think, and it's easier to extend in the future that way.
REPOSITORY
R352 Filelight
REVISION DETAIL
https://phabricator.kde.org/D14028
To: broulik, sandsmark, elvisangelaccio, sitter
Cc: kde-utils-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20180710/4805c1c0/attachment.html>
More information about the Kde-utils-devel
mailing list