-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Eject/recreate silently fails if disk is locked #26
Comments
Hi @zxcat - MacOS used to throw a system alert when an in use disk was attempted to be ejected (so I routed the errors to the console). I'll have to check and see when that functionality changed and if I can add some alerting to the app or if I need to version the functionality. The original TmpDisk was built more than 10 years ago so it's very possible that MacOS hasn't done that for a long time. |
Turns out the latest Swift libraries do not throw errors for Disk in Use. Would love to get some eyes testing it before releasing it to the public channel. |
* Adds spanish localization * Adds selection for gigabytes and megabytes fixes #27 * Handle locked disks fixes #26 * update zh-hans localizable strings (#29) update zh-han localizable strings * Sets default units, updates build for distribution --------- Co-authored-by: Weimeng Zhu <[email protected]>
Steps to reproduce:
test
for example)cd /Volumes/test
in iTermexpected: disk disappears on eject or contains no files from step2
actual: nothing happens
furthermore, it seems TmpDisk enters some buggy state. e.g. even if I unlock disk (
cd ..
). I can't eject or re-create it. And If I eject if using Finder, TmpDisk still shows it in the "Current TmpDisks" menu.note: maybe it's not iTerm who locks a disk but zsh/plugins/etc, but I can repeat this behavior with other apps, which prevent disk ejection while use it.
The text was updated successfully, but these errors were encountered: