Commit d9f6b6d1 authored by Thiago Macieira's avatar Thiago Macieira
Browse files

QStorageInfo: update the detection of pseudo filesystems


Allow tmpfs filesystems to be reported, as they're often usable by the
user, mounted in /tmp and in /run (the fs for $XDG_RUNTIME_DIR).

But disallow anything whose device is not a pathname. This catches most
of everything else that wasn't specifically tested for before, like
virtual fuse filesystems, like GVFS.

Change-Id: I3e15a26e0e424169ac2bffff1417b7cee0f8ec97
Reviewed-by: default avatarIvan Komissarov <ABBAPOH@gmail.com>
Reviewed-by: default avatarThiago Macieira <thiago.macieira@intel.com>
parent b168c6c8
Showing with 8 additions and 4 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment