diff options
| -rwxr-xr-x | bin/removable_storage_watcher | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/bin/removable_storage_watcher b/bin/removable_storage_watcher index 522e7a8b..d5a07221 100755 --- a/bin/removable_storage_watcher +++ b/bin/removable_storage_watcher @@ -619,6 +619,10 @@ class UDisks2StorageDeviceListener:  and record.value.prop_name == "MountPoints"  and record.value.prop_value != []):  found.add('mounted') + # On some systems partition are reported as mounted + # filesystems, without 'partition' record + if set(['partition', 'mounted']).issubset(needs): + needs.remove('partition')  # Finally memorize the drive the block device belongs to  elif (record.value.iface_name ==  "org.freedesktop.UDisks2.Block" | 
