tchx84 / Portfolio

A minimalist file manager for those who want to use Linux mobile devices.
GNU General Public License v3.0
94 stars 23 forks source link

devices: Ignore system devices #261

Closed tchx84 closed 2 years ago

tchx84 commented 2 years ago

See http://storaged.org/doc/udisks2-api/latest/gdbus-org.freedesktop.UDisks2.Block.html#gdbus-property-org-freedesktop-UDisks2-Block.HintSystem

Closes #245

tchx84 commented 2 years ago

@craftyguy can you give this a try?

craftyguy commented 2 years ago

yes I will! 😄 sorry for the delayed response!

craftyguy commented 2 years ago

@tchx84 looks like we have a winner!

oKj7

tchx84 commented 2 years ago

@craftyguy awesome, just to double check my tests:

  1. Check if still detects any non-encrypted external devices.
  2. Check if still detects any encrypted external devices.
craftyguy commented 2 years ago

Check if still detects any non-encrypted external devices.

Yep!

Check if still detects any encrypted external devices.

Yep!

Tested with an external usb-c drive directly connected to my librem 5.

tchx84 commented 2 years ago

Thanks @craftyguy !

craftyguy commented 2 years ago

@tchx84 you're welcome! thank you for finding an elegant solution to this issue :D