If I plug in a standard USB flash drive I can use :media in VIFM to mount the drive and then work with the drive in VIFM. I cannot see a way to mount an encrypted flash drive from within VIFM: is it possible?
I currently decrypt the USB flash drive via the GUI/terminal but even after that :media does not pick up the drive. Instead, I have to mount the drive via the GUI/terminal and then navigate to /run/media/XXX. From there I can work on the drive from within VIFM. Using :media to mount the drive would be easier than my current workaround. Is there any way to mount a decrypted flash drive in VIFM?
Thank you, and apologies if I have missed something obvious.
:media uses a helper script specified by 'mediaprg' option. The script provided with Vifm supports devmon, udisks and udisks2. And I think someone used it with encryption successfully, but it might have need of a different kind.
I've never used encrypted flash drives and don't know at which level encryption happens and how it affects things like udisks. You can copy and edit that script to try to fix this if you have an idea what can be wrong with detecting it (e.g., maybe udisks2 sets "read only" flag, such drives are ignored by the script at the moment).