Automatically unmount encrypted USB flash drive when device is unplugged
I formatted a flash drive using Karmic's Format utility, and selected the Encrypted FAT option. It mounts correctly when I plug it in, and I can access the files just fine. When I unplug the Flash drive without using the 'Safely Remove Drive' option, the icon on my desktop changes its name to '2.0 GB Encrypted', instead of disappearing and unmounting like my unencrypted Flash drives do.
I would like to have encrypted Flash drive treated in the same way as my unencrypted Flash drives, which disappear and unmount when unplugged, even if the 'Remove Safely' menu option isn't used. What can I do to accomplish this?
NOTES:
This is all in 64-bit Karmic Koala, with all the latest updates applied.
When I plug the encrypted Flash drive in, the following line shows up in the output of 'mount'. 'secure' is the name I gave the disk during the format process:
/dev/mapper/
The disk shows up on my desktop with the name 'secure'.
When I unplug the device, 'mount' still shows this line:
/dev/mapper/
The drive's contents can still be viewed in Nautilus, but I can't open files.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Caleb Callaway for more information if necessary.