Skip to content
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

Unable to unmount because bashmount keeps target busy #29

Open
ViceroyFaust opened this issue Jun 15, 2021 · 2 comments
Open

Unable to unmount because bashmount keeps target busy #29

ViceroyFaust opened this issue Jun 15, 2021 · 2 comments

Comments

@ViceroyFaust
Copy link

When trying out bashmount, I discovered that when I attempt to unmount the device, I get
Error unmounting /dev/sdf1: GDBus.Error:org.freedesktop.UDisks2.Error.DeviceBusy: Error unmounting /dev/sdf1: target is busy
When I check lsof, I find that bashmount is keeping the target busy, preventing itself from unmounting it
bashmount 24464 dfowl cwd DIR 8,81 16384 1 /run/media/dfowl/DFO_USB

@ViceroyFaust
Copy link
Author

I should probably clarify some things. This happens only when I select the disk and tell bashmount to open it. After opening the directory, bashmount closes itself but does not end itself. Perhaps I am overlooking a way to reopen the bashmount that keeps running in the background, but that's what prevents it from unmounting/ejecting.

@c02y
Copy link

c02y commented Oct 24, 2021

I found that somehow there are other bashmount processes running in the background, kill those processes, and redo that again, it will succeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants