Commit 57eea1f0 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Also exclude anything starting with "fuse" from partition sensors

These are often used for non-partition things, so we should just exclude
them.

Ideally we should just rewrite the entire thing using Solid instead of
playing whack-a-mole.
parent 1e55f42a
......@@ -214,6 +214,7 @@ int updateDiskStat( void )
*/
if ( (mnt_info->mnt_fsname[0] != '/') ||
!strncmp( mnt_info->mnt_fsname, "/dev/loop", 9 ) ||
!strncmp( mnt_info->mnt_type, "fuse", 4 ) ||
!strcmp( mnt_info->mnt_type, "smbfs" ) ||
!strcmp( mnt_info->mnt_type, "cifs" ) ||
!strcmp( mnt_info->mnt_type, "proc" ) ||
......
Markdown is supported
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